Promoted Event on Editfield Options (OpenInsight 32-bit)
At 28 NOV 2011 03:56:51PM Warren Auyong wrote:
Ok I added a promoted even to Editfield Options. Every thing triggers properly however after executing my routines I get a message popup "Options are not available". I tried halting the event chain with no change.
What am I missing?
At 29 NOV 2011 09:42AM Warren Auyong wrote:
Ok, I figured it out. The main promoted events commuter module is doing a Call @subroutine so the function result was not being returned (doh!). Added to the parameter list. Would dynamic function calls be possible? E.g. result = @function(parameters)
At 30 NOV 2011 04:51AM Andrew McAuley wrote:
Suspect you're looking for this
retVal = function( @procID( ctrlEntID, ctrlClassID ) )Function does not need to be declared.
World leaders in all things RevSoft
At 14 DEC 2011 10:37AM Warren Auyong wrote:
Ok, here's a new one on the same event.
Call a Popup or whatever.
Update the DEFPROP of the control with the selected data.
If I do a send_event(CtrlEntID,'LOSTFOCUS') it doesn't move to the next enabled control.
When I do the same things in the OPTIONS Event Script of a Form it moves to the next enabled control.
I tried setting the focus to the control in question then sending the LOSTFOCUS but still no joy.
Is there a way to get this to work in a Promoted Event as it does in an event script or do I just have to loop through the 'NEXT' controls until an ENABLED control is found and then set FOCUS to that control?