Kbase P53760: ADM2, How to programmatically apply the Event On Change of a
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/13/2003 |
|
Status: Unverified
GOAL:
How to programmatically apply the 'Event On Change' of a smartSelect.
FIX:
You should manually PUBLISH the Progress named event associated with the smartSelect 'Event On Change'. In order to achieve that you should first gather the SCREEN-VALUE to pass to the procedure.
DEFINE VARIABLE h AS HANDLE NO-UNDO.
h = DYNAMIC-FUNCTION('getContainerHandle':U IN h_dynselect).
And after publish manually the named event:
PUBLISH 'eventName' FROM h_dynselect
(INPUT h:FIRST-CHILD:FIRST-CHILD:SCREEN-VALUE).