Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 18 JUL 2007 07:04:50AM Simon G Wilmot wrote:

Hi all,

As I have lost some documentation that is now really annoying … can anyone let me know the event name structure for a promoted event that runs all events on a specific window.

And as an additional bit of info, is there a simple way of determining which event is actually being promoted at that point in time ie Create, Gotfocus etc.

TIA,

Simon


At 18 JUL 2007 09:26AM Bob Carten wrote:

Some of the clearest documentation is supplied by folks at the authorised training centers. See

Srpcs Whitepaper

http://www.srpcs.com/articles/Promoted_Events.pdf

Sprezzatura SENL article

http://www.sprezzatura.com/senl/senl17.htm#_Toc447357930


At 18 JUL 2007 09:27AM dbakke@srpcs.com's Don Bakke wrote:

Simon,

As I have lost some documentation that is now really annoying …

Promoted Events

can anyone let me know the event name structure for a promoted event that runs all events on a specific window.

There is no way to promote events that will only respond to a specific window. The nature of promoted events is that they are not tied to any control (or window). You can promote specific events for a type of control, specific events for all controls, or all events for all controls. Perhaps the last one is what you are looking for. In which case the structure would be as follows:

AppName*..OIWIN*

And as an additional bit of info, is there a simple way of determining which event is actually being promoted at that point in time ie Create, Gotfocus etc.

EventType=Get_Current_Event()

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 18 JUL 2007 10:10AM Simon G Wilmot wrote:

Thanks Don, Bob,

I could have sworn the docm I had displayed a way of having a specific window generic event, but I am happy to be corrected. It would be useful though …

And thanks for the final snippet :-)

Simon


At 18 JUL 2007 10:16AM Simon G Wilmot wrote:

Thanks Don, Bob,

I could have sworn the docm I had displayed a way of having a specific window generic event, but I am happy to be corrected. It would be useful though …

And thanks for the final snippet :-)

Simon


At 18 JUL 2007 02:18PM Karen Oland wrote:

Although you did neglect to say that some companies are selling application tools that let you do just this ….

Karen


At 18 JUL 2007 05:26PM dbakke@srpcs.com's Don Bakke wrote:

Although you did neglect to say that some companies are selling application tools that let you do just this ….

Assuming you are referring to FrameWorks, this was not an attempt to be modest or exercise discretion by not commercializing our own product.

My comment is applicable to all applications, even those developed with FrameWorks. The promoted event layer (which is an inherent OpenInsight feature) works in the manner I described in my original post. What we have done (and what I demonstrated at the Seattle Revelation User's Conference) is to engineer our promoted event logic to make dynamic calls to a form's "commuter module" function.

Thus, the net effect is that all event processing for a form is automatically passed to the commuter module without needing to add the hooks using the Form Designer.

The reason I didn't suggest this approach to Simon was because I thought he was looking for a way to "promote" events for some windows while excluding others. By their nature, promoted events are active for *all* windows. Of course, as you well know, FrameWorks provides ways to control which windows respond to promoted events.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 20 JUL 2007 05:33AM Simon G Wilmot wrote:

That is the situation - I am doing one window that required this so can manage, it was as much an exercise as I thought it was possible …

Thanks for the help,

Simon

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/dfe7a7f0d41606108525731c003cde63.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1