M
Matt Gilarde
Guest
You can write a trigger which handles events for all widgets in a frame using the ANYWHERE keyword. ON LEAVE OF FRAME f-main ANYWHERE I can think of a few ways to associate one widget with another. For example, you could store the handle of the secondary widget in the primary widget's PRIVATE-DATA attribute. PRIVATE-DATA is a string which can be used for whatever purpose you want. In this case you could store a handle, like this. You would do this initialization after the frame is defined. proc-1
RIVATE-DATA = STRING(procName-1:HANDLE). Then in the trigger you could retrieve the handle like this: DEFINE VARIABLE procX AS HANDLE NO-UNDO. procX = HANDLE(SELF
RIVATE-DATA). procX:SCREEN-VALUE = getProcName(SELF:SCREEN-VALUE).
Continue reading...


Continue reading...