DEFINE TAB
Creates a Tab Control
DEFINE TAB <ControlName>
[ PARENT <ParentWindowName> ]
ROW <nRow>
COL <nCol>
WIDTH <nWidth>
HEIGHT<nHeight>
[ VALUE <nValue> ]
[ FONTNAME <cFontname> ]
[ FONTSIZE <nFonSize> ]
[ FONTBOLD <lValue> ]
[ FONTITALIC <lValue> ]
[ FONTUNDERLINE <lValue> ]
[ FONTSTRIKEOUT <lValue> ]
[ TOOLTIP <cToolTipText> ]
[ BUTTONS <lValue> ]
[ FLAT <lValue> ]
[ HOTTRACK <lValue> ]
[ VERTICAL <lValue> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
DEFINE PAGE <cPageCaption> [ IMAGE <cImageName> ]
... Control Definitions...
END PAGE
...
END TAB
Properties:
- Value
- Enabled
- Visible
- Row
- Col
- Width
- Height
- Fontname
- FontSize
- FontBold
- Name (R)
- Buttons (D)
- Flat (D)
- HotTrack (D)
- Vertical (D)
D: Available at control definition only
R: Read-Only
Events:
- OnChange
Methods:
- Show
- Hide
- Release
- AddPage ( nPageNumber , cCaption [ , cImageName ] )
- AddControl ( ControlName , nPagenumber , nRow , nCol )
- Hints:
- VERTICAL style has no effect when XP theme is used.
- Since Tab is a container, you can specify when refer to
properties or events of its child controls, including page
number, ie:
Win1.Tab1(1).Grid1.Value := 10