User Tools

Site Tools


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

PROP:TabRows returns the number of rows of TABs in a SHEET. (READ-ONLY)

See Also: PROP:NumTabs

Example:

MDIChild WINDOW('Child One'),AT(0,0,320,200),MDI,MAX,HVSCROLL

     SHEET,AT(0,0,320,175),USE(SelectedTab)

      TAB('Tab One'),USE(?TabOne)

        OPTION('Option 1'),USE(OptVar1),KEY(F10Key),HLP('Option1Help')

         RADIO('Radio 1'),AT(20,0,20,20),USE(?R1)

         RADIO('Radio 2'),AT(40,0,20,20),USE(?R2)

       END

       OPTION('Option 2'),USE(OptVar2),MSG('Option 2')

        RADIO('Radio 3'),AT(60,0,20,20),USE(?R3)

        RADIO('Radio 4'),AT(80,0,20,20),USE(?R4)

       END

      END

      TAB('Tab Two'),USE(?TabTwo)

        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

      TAB('Tab Three'),USE(?TabThree)

        OPTION('Option 3'),USE(OptVar3)

         RADIO('Radio 1'),AT(20,0,20,20),USE(?R5)

         RADIO('Radio 2'),AT(40,0,20,20),USE(?R6)

       END

       OPTION('Option 4'),USE(OptVar4)

        RADIO('Radio 3'),AT(60,0,20,20),USE(?R7)

        RADIO('Radio 4'),AT(80,0,20,20),USE(?R8)

       END

      END

      TAB('Tab Four'),USE(?TabFour)

        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(MDIChild)

MESSAGE('Number of TABs: ' & ?SelectedTab{PROP:NumTabs})

MESSAGE('Number of rows of TABs: ' & ?SelectedTab{PROP:TabRows})

ACCEPT

END

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