DEFINE TAB
  

Creates a tab control.

SYNTAX

DEFINE TAB<ControlName>
[ OF | PARENT<
cParentWindowName> ]
AT <
nRow> ,<nCol>
WIDTH<
nWidth>
HEIGHT<
nHeight>
[ VALUE <
nValue> ]
[ FONT <
cFontname> SIZE <nFonSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <
cToolTipText> ]
[ BUTTONS ]
[ FLAT ]
[ HOTTRACK ]
[ VERTICAL ]
[ BOTTOM ]
[ ON CHANGE <
OnChangeProcedure> | <bBlock> ]
[ MULTILINE ]
[ NOTABSTOP ]

[ DEFINE ] [ TAB ] PAGE <cPageCaption> [ IMAGE <cImageName> ]
[ TOOLTIP <
cToolTipPageText> ]

... Control Definitions...

END PAGE

...

END TAB


TAB PROPERTIES:

·   Value
Set / Gets Tab value.
·   Enabled
Set / Gets enabled state of a Tab control
·   Visible
Set / Gets visible a Tab control.
·   Caption (nPageNumber)
Set / Gets caption in a Tab
·   Image (nPageNumber)
Get item count in a Tab
·   ItemCount (R)
Get item count in a Tab.
·   Row
Set / Gets row position of a Tab control.
·   Col
Set / Gets column position of a Tab control.
·   Width
Set / Gets width of a Tab control.
·   Height
Set / Gets height of a Tab control.
·   FontName
Set / Gets Tab control's font name.
·   FontSize
Set / Gets Tab control's font size.
·   FontBold
Set / Gets Tab control's font bold property
·   FontItalic
Set / Gets Tab control's font italic property
Set / Gets Tab control's font underline property
Set / Gets Tab control's font strikeout property
·   BackColor
Set / Gets the background color for text within the Tab
·   Cargo
Set / Gets user property 'Cargo' for Tab control
·   Name (R)
Retrieves the name of a Tab control.
·   Parent (D)
Set the name as character identifier of the parent window.
·   HelpId (D)
Set the numeric help topic identifier of the control.
·   NoTabStop (D)
Sets whether an element behavior can't receive focus and participate in the tabbing sequence
·   Buttons (D)
 
·   Flat (D)
 
·   HotTrack (D)
 
·   Vertical (D)
 

D: Available at control definition only
R: Read-Only


EVENTS

·   OnChange
An action to be performed when generic changing of the control

METHODS:

·   Show
Shows a Tab control
·   Hide
Hides a Tab control
·   Release
Releases a Tab control from memory
·   AddPage( nPageNumber , cCaption [, cImage] [, cTooltip] )
Add a new item to a Tab control.
·   DeletePage( nPageNumber )
Deletes an item from a Tab control
·   AddControl( ControlName , nPagenumber , nRow , nCol )
Add a new column to a Tab control.
·   SaveAs
Save Tab control as BitMap file.

EXAMPLE:

see demo in :
\Samples\Basic\Tab
\Samples\Basic\MAINDEMO_(SYNTAX_I) to _(SYNTAX_IV)