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).
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).