on 04-03-2007 12:03 PM
Hi Experts,
I have created a custom GUI status in my screen and enabled BACK, CANCEL, EXIT, PRINT and FIND buttons.
With coding BACK, CANCEL and EXIT are working fine but what codes i should write for PRINT and FIND? Can anybody give me some sample codes.
Points assured.
Jogdand M B
Hi
For PRINT:
NEW-PAGE PRINT ON.
WRITE: 'Bye Bye'.
For FIND, something like
FIELD-SYMBOLS: <FIELD> TYPE ANY.
LOOP AT SCREEN.
ASSIGN (SCREEN-FIELD) TO <FIELD>.
IF <FIELD> CS MY_STRING'.
SET_CURSOR = SCREEN-FIELD.
EXIT.
ENDIF.
ENDLOOP.
In the PBO
SET CURSOR FIELD SET_CURSOR.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
codes for standard funcitons
PRIN <-print
FIND <-find
Regards
Sailaja.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.