Fill-in object

jmac13

Member
Hi all,

I'm using open edge 10.2b

I've put code into my fill-in object to run a procedure when a trigger is fired e.g.:

Code:
ON CURSOR-DOWN OF chrSearch IN FRAME fMain /* Label */
DO:
  run RunTrigger in hanSearchUtils(input  self,"CURSOR-DOWN").
  return no-apply.
END.

can you detech what a fill-in object trigger has been fired? so instead of me needing to put "CURSOR-DOWN " can self work it out?
 
cheers rzr

I can use last-event:function which gives me the action e.g. "VALUE_CHANGED" :) nice one makes the code a lot nicer:)
 
hmm some other strange behavouir... seems to stop working when i switch all of them over the last event... think ill swap them back from now
 
I dont think it sends the event i expect...I'll have to do some testing when i get chance.. but if i use last-event rather than the string of the event it seems to stop working...so im thinking its different and thus not in my case statement
 
Another question can you detect when a object is created? I've created some custom objects in appbuilder palette but I want to be able to pop up a box when someone drags them onto a window. So e.g. custom fill-in is being put on then I want a box to say "what’s the name of this object?" then once they've pressed enter it changes the objects name
 
Back
Top