User Tools

Site Tools


prop_upsidedown.htm
Navigation:  Language Reference > App C - PROP: Runtime Properties > Complete Property List >====== PROP:UpsideDown ====== Previous pageReturn to chapter overviewNext page

This property toggles both the UP and DOWN attributes at once to display inverted TAB control text in a SHEET structure.

Example:

WinView  WINDOW('View'),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

     END

     BUTTON('Ok'),AT(100,180,20,20),USE(?Ok)

      BUTTON('Cancel'),AT(200,180,20,20),USE(?Cancel)

    END

CODE

OPEN(WinView)

?SelectedTab{PROP:BELOW} = TRUE    !Set tabs to display at bottom of sheet

?SelectedTab{PROP:UpsideDown} = TRUE  !Invert the text displayed on the tabs

ACCEPT

END

prop_upsidedown.htm.txt · Last modified: 2021/04/15 15:57 (external edit)