Navigation: Language Reference > 9 - Window and Report Attributes > Window and Report Attributes >====== UP, DOWN (set TAB text orientation) ====== | |
UP
DOWN
The UP and DOWN attributes of a SHEET control specify the orientation of the text on the TAB controls. UP (PROP:UP) specifies the TAB text appears vertical reading upwards, while DOWN (PROP:DOWN) specifies the TAB text appears vertical reading downwards. If both UP and DOWN attributes are present, the TAB text appears inverted (PROP:UpsideDown).
Example:
MDIChild WINDOW('Child One'),AT(0,0,320,200),MDI,MAX,HVSCROLL
SHEET,AT(0,0,320,175),USE(SelectedTab),RIGHT,DOWN !Tabs right reading down
TAB('Tab One'),USE(?TabOne)
PROMPT('Enter Data:'),AT(100,100,20,20),USE(?P1)
ENTRY(@S8),AT(100,140,32,20),USE(E1)
PROMPT('Enter More Data:'),AT(100,200,20,20),USE(?P2)
ENTRY(@S8),AT(100,240,32,20),USE(E2)
END
PROMPT('Enter Data:'),AT(100,100,20,20),USE(?P3)
ENTRY(@S8),AT(100,140,32,20),USE(E3)
PROMPT('Enter More Data:'),AT(100,200,20,20),USE(?P4)
ENTRY(@S8),AT(100,240,32,20),USE(E4)
END
BUTTON('Ok'),AT(100,180,20,20),USE(?Ok)
BUTTON('Cancel'),AT(200,180,20,20),USE(?Cancel)
END