Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/90b9a09b35371aec85256e43005e8ba0.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1