Detecting Quick events (OpenInsight 32-Bit)
At 23 FEB 2004 12:12:41PM Peter Bowyer wrote:
Is it possible to detect if a quick event has been defined for a control?
I need to know if a control has an OPTIONS quick event defined so that, using a promoted GOTFOCUS event, I can let the user know if the OPTIONS event is available.
Any help appreciated.
At 23 FEB 2004 12:22PM The Sprezzatura Group wrote:
Peter
Yes…
This from our own promoted event on GOTFOCUS
Script =ControlSemantics@
QuickEvents=ControlSemantics@
If Index((Script : QuickEvents), "OPTIONS", 1) And CtrlType # "EDITTABLE" Or Index(ControlSemantics@, "(D", 1) Then
Needless to say there is more work to do it it's an edittable etc etc but this should give you a start!
The Sprezzatura Group
World Leaders in all things RevSoft
At 24 FEB 2004 07:23AM Peter Bowyer wrote:
Thanks for that it works a treat.