DEFINE TAB Create a Tab control
|
Creates a tab control.
SYNTAX
DEFINE TAB<ControlName>
[ OF | PARENT<cParentWindowName> ]
AT <nRow> ,<nCol>
WIDTH<nWidth>
HEIGHT<nHeight>
[ VALUE <nValue> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BUTTONS ]
[ FLAT ]
[ HOTTRACK
[ HTFORECOLOR <anHtForeColor> ]
[ HTINACTIVECOLOR <anHtInactiveColor> ] ]
[ VERTICAL ]
[ BOTTOM ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ MULTILINE ]
[ NOTABSTOP ]
[ ON INIT <bInit> ]
[ DEFINE ] [ TAB ] PAGE <cPageCaption> [ IMAGE <cImageName>
]
[ TOOLTIP <cToolTipPageText> ]
... Control Definitions...
END PAGE
...
END TAB
Standard Window:
@ <nRow> ,<nCol> TAB <ControlName>
[ [<clauses,...>]
HEIGHT <nHeight>
WIDTH <nWidth>
[<moreClauses,...>]
nRow, nCol
|
Position in the area of ??the window in pixels.
|
nWidth, nHeight
|
The desired size of the Tab Control in pixels.
|
nId
|
The ID identifier this Control in Dialog Window
|
ControlName
|
A reference to the Tab Control
|
ParentWindowName
|
A reference to the Parent Window.
|
nHelpID
|
The help topic identifier for this Control
|
nValue
|
Specifies the startup tab
|
cFontName
|
Specifies the Font Name
|
cFontSize
|
Specifies the Font Color
|
cToolTipText
|
Specifies the Text for the ToolTip
|
anHtForeColor
|
Specifies the ? Fore Color
|
anHtActiveColor
|
Specifies the ? Active Color
|
OnChangeProcedure
|
An action to be performed when control value Changes
|
|
|
cPageCaption
|
Specifies the Page Caption
|
cImageName
|
Specifies the Image Name
|
cToolTipPageText
|
Specifies the Text for the ToolTip of the Page
|
|
|
BUTTONS
|
Specifies to make the Tabs look like Buttons
|
FLAT
|
Specifies to use a FLAT style
|
HOTTRACK
|
?
|
VERTICAL
|
Specifies to put the Tabs in Vertical mode (Setting Bottom
in vertical Mode puts the Tabs on the right side)
|
BOTTOM
|
Specifies to put the Tabs at the bottom the the Tab Page
|
MULTILINE
|
Specifies to have multiple lines of Tabs
|
NOTABSTOP
|
Stop the control to receive focus and participate in the
tabbing sequence
|
TAB PROPERTIES:
Set / Gets Tab value.
| |
Set / Gets enabled state of a Tab control
| |
Set / Gets visible a Tab control.
| |
Set / Gets caption in a Tab
| |
Get item count in a Tab
| |
Get item count in a Tab.
| |
Set / Gets row position of a Tab control.
| |
Set / Gets column position of a Tab control.
| |
Set / Gets width of a Tab control.
| |
Set / Gets height of a Tab control.
| |
Set / Gets Tab control's font name.
| |
Set / Gets Tab control's font size.
| |
Set / Gets Tab control's font bold property
| |
Set / Gets Tab control's font italic property
| |
Set / Gets Tab control's font underline property
| |
Set / Gets Tab control's font strikeout property
| |
Set / Gets the background color for text within the Tab
| |
Set / Gets the HTFore
color for text within the Tab
| |
Set / Gets the HTInactive color for text within the Tab
| |
Set / Gets user property 'Cargo' for Tab control
| |
Retrieves the name of a Tab control.
| |
Set the name as character identifier of the parent window.
| |
Set the numeric help topic identifier of the control.
| |
Sets whether an element behavior can't receive focus and
participate in the tabbing sequence
| |
·
Buttons (D)
|
|
| |
·
HotTrack (D)
|
|
|
D: Available
at control definition only
R: Read-Only
EVENTS
Action to be performed when generic changing of the control
|
METHODS:
Shows a Tab control
| |
Hides a Tab control
| |
Redraw a Control
| |
Releases
a Tab control from memory
| |
Add a new item to a Tab control.
| |
Deletes an item from a Tab control
| |
Add a new column to a Tab control.
| |
Save Tab control as BitMap file.
|
EXAMPLE: