Dynamic button and triggers

biljana

New Member
Hello everybody,
I'm trying to create dynamic button that'll be sensitive on right mouse click event.
This is a code and 'on choose' trigger works but the other one doesn't.
Please help.
Thanks

CREATE BUTTON btn-set[IN-cnt] IN WIDGET-POOL "menu"
ASSIGN
FRAME = FRAME default-frame:HANDLE
ROW = de-ROW
COLUMN = de-col
FLAT-BUTTON = TRUE
SENSITIVE = TRUE
VISIBLE = TRUE
FONT = 23
LABEL = ch-label
HEIGHT-PIXELS = 26
WIDTH-PIXELS = 280
TRIGGERS:
ON CHOOSE PERSISTENT
RUN btn-trig IN THIS-PROCEDURE (INPUT z_funct.funct-name).
ON "right-mouse-click" PERSISTENT
RUN dsplmenu IN THIS-PROCEDURE (INPUT z_funct.funct-name).

END TRIGGERS.


The error I got is

Procedure c:/progress91D/wrp/p11662cf.ab has no entry point for dsplmenu (2129).
 
Does the internal procedure you are trying to run in the persistent trigger exist in the current procedure (the procedure that creates the dynamic button)? The error you get indicates it doesn't...
 
Back
Top