Thanks for that Klaus.
I've been 'up to no good' with some example Date Picker stacks and scripts I've found and have knocked up something that'll do just fine. Not 'tuned' for iOS or Android but a generic date picker... Thanks for the pointers...
I've created a generic DatePicker and want it to operate on
various buttons on a particular card. I have scripted that the Picker 'pops up' kinda 'attached' to the field it's about to update (just set its top right to the initiating controls bottom right) and set the hilite of the selected date input control to suit my DatePicker group whilst the two are displayed - effectively, to help visual 'pairing' of the popped up DatePicker to the selected date input control. All very well and good BUT... (you knew it was coming

!)...
I'm trying to remove / hide the popped-up DatePicker and reset the 'hilite' property (or whatever other hilighting idea I may get !) of the control that called it (not part of my DatePicker group) when I click
anywhere ouside/off the DatePicker IF the DatePicker is currently visible... (make sense ?)
So... Is there a really generic method to detect clicking on 'ANY' control on a card and even the card itself and also of detecting that the click WASNOT on a SPECIFIC control ?
My idea : card level script :
on ClickOnANYControl (ControlName)
If ControlName is not "myDatePicker" then
Set the visible of group "myDatePicker" to false
Set the threeD of field "myDateInputField" to true [false]
end if
end ClickOnANYControl
As an asside - is there any way to 'Dim' the parts of a card that currently don't have 'focus' in an attempt to focus the users attention on the popped up control / group of controls ? I've looked for dim, focus and rest but to no avail...
Hope that all makes sense...
TIA
Regards.