‎2005 Oct 24 1:27 PM
Hi,
I have a screen with some fields and 2 pushbuttons on the screen. Depending on the previous screen command, we need to set the cursor position on one of the pushbuttons on this screen. How to set the cursor position on the pushbutton dynamically?
Thanks
‎2005 Oct 24 1:30 PM
Hi
Use SET CURSOR command, the pushbotton are screen fields too. So:
PROCESS PBO.
MODULE SET_CURSOR.
MODULE SET_CURSOR.
IF .......
SET CURSOR FIELD <PUSHBUTTON_1>.
ELSE.
SET CURSOR FIELD <PUSHBUTTON_2>.
ENDIF.
ENDMODULE.
Max
Message was edited by: max bianchi