I need some help from the experts. I currently using this popup menu;
The above code works fine, but I would like to deactive the popup as soon as a selection bar is chosen by the user. What is doing now it runs the prg depending on the selection and menu stays on the screen, I have to press the escape key to get it out of the screen. Is there a way to make it go away once a selection is chosen?
Thanks
Code:
DEFINE POPUP OUTPUT from 5,27 SHADOW ;
FONT 'LUCIDA SANS TYPEWRITER',12 STYLE 'B' TITLE 'Select an Option'
DEFINE BAR 1 OF OUTPUT PROMPT 'Send to Printer'
DEFINE BAR 2 OF OUTPUT PROMPT 'Convert to PDF'
ON selection BAR 1 OF OUTPUT DO prt2file
ON selection BAR 2 OF OUTPUT DO PRT2PDF
ACTIVATE POPUP OUTPUT
The above code works fine, but I would like to deactive the popup as soon as a selection bar is chosen by the user. What is doing now it runs the prg depending on the selection and menu stays on the screen, I have to press the escape key to get it out of the screen. Is there a way to make it go away once a selection is chosen?
Thanks