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 21 OCT 1997 05:23:43PM Alex Eloquent wrote:

I have a few QuickEvents in menus which call my window's QBFxxxx events. After each of the QBFxxxx events, I'd like to execute a bit of code which updates some stuff on the window. I have this stored in an OMNIEVENT script, which is called as a QuickEvent from each ofo the QBFxxxx events, but it seems never to get called.

Is it possible that QuickEvents can't call each other?

Any clues?


At 21 OCT 1997 06:02PM Aaron Kaplan wrote:

The menu does a quick event call to QBFWhatever. QBFWhatever has another quick event that calls omnievent. Omnievent is not being called, right?

What's happening in the QBF event? Depending on event_status, it could be aborting.

What happens if you place event code in the QBFWhatever so that it FORWARD_EVENT ; RETURN 0

Does that make a difference?

I don't know anything that will stop the event chain outside of a bad status. One event should be treated like all the others.

apk@sprezzatura.com

Sprezzatura Ltd

www.sprezzatura.com_zz.jpg


At 22 OCT 1997 09:10AM Gene Gleyzer Revelation wrote:

Alex,

This is a known bug in QBF system event handlers – for an obsolete reason they end up with "return 0" that stops the event chain. The fix is scheduled for OpenInsight 3.5.

Meanwhile, the work-around would be having a form specific handler with a code that looks like:

* declare subroutine Forward_Event, Send_Event declare function Get_EventStatus Forward_Event() ;* execute system event-handler if Get_EventStatus(statCode) else Send_Event(@window, 'OMNIEVENT', …) end return 0 ***

Gene


At 22 OCT 1997 12:40PM Alex Eloquent wrote:

Thanks Gene…

I'd tried this solution earlier, and it worked, but I really didn't relish the idea of using scripted events where QuickEvents should have worked perfectly well.

So… Refresh my memory, when is 3.5 coming? ;)


At 23 OCT 1997 12:29PM Jennifer Revelation wrote:

OpenInsight 3.5 is due mid-November.

View this thread on the forum...

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