DEFINE STATUSBAR
Creates a StatusBar Control.
  

Creates a StatusBar Control.

SYNTAX

DEFINE STATUSBAR
[ OF | PARENT <
cParentWindowName> ]
[ KEYBOARD ]
[ FONT <
cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]

STATUSITEM <cItemCaption>
[ WIDTH <
nWidth> ]
[ ACTION <
ActionProcedure> | <bBlock> ]
[ ICON <
cIconName> ]
[ FLAT | RAISED ]
[ TOOLTIP <
cToolTipText> ]
[ DEFAULT ]

[ DATE [ WIDTH <nWidth> ]
[ ACTION <
ActionProcedure> | <bBlock> ]
[ TOOLTIP <
cToolTipText> ]

[ CLOCK [ WIDTH <nWidth>]
[ ACTION <
ActionProcedure> | <bBlock> ]
[ TOOLTIP <
cToolTipText>]
[ AMPM ] ]

[ KEYBOARD [ WIDTH <nWidth> ]
[ ACTION <
ActionProcedure> | <bBlock> ]
[ TOOLTIP <
cToolTipText> ] ...

[ PROGRESSITEM [ WIDTH <nSize> ]
[ ACTION <ActionProcedure> ]
[ TOOLTIP <
cToolTipText> ]
[ RANGE <
lo> , <hi> ]
[ VALUE <
v> ]

...

END STATUSBAR


StatsBar Progress Item

SET [ STATUSBAR ] PROGRESSITEM
OF| PARENT> <
ParentWindowName>
POSITION TO  [ [ VALUE ] <
v> ]

SET [ STATUSBAR ] PROGRESSITEM
OF |  PARENT <
ParentWindowName>
RANGE TO [ <
lo> , <hi> ]


DESCRIPTION:
nRow, nCol
Position in the area of ??the window in pixels.
nWidth, nHeight
The desired size of the StatusBar Control in pixels.
nId
The ID identifier this Control in Dialog Window
ControlName
A reference to the StatusBar Control
ParentWindowName
A reference to the Parent Window.
nHelpID
The help topic identifier for this Control
cFontName
Specifies the Font Name
cFontSize
Specifies the Font Size
cItemCaption
Specifies the Item caption
ActionProcedure
An action to be performed when ?
cToolTipText
Specifies the Text for the ToolTip
lo, hi
Specifies the Low and High value for the StatusBar
v
Specifies the Postion to set the StatusBar

                  


PROPERTIES:

StatusBar

·   Font(D)
Set StatusBar control's font name.
·   Size(D)
Set StatusBar control's font size.
·   Bold(D)
Set StatusBar control's font bold property
·   Italic(D)
Set StatusBar control's font italic property
·   Underline(D)
Set StatusBar control's font underline property
·   Strikeout(D)
Set StatusBar control's font strikeout property
·   Parent(D)
Set the name as character identifier of the parent window.


StatsBar Item

·   Caption
Set / Gets caption of a StatusBar Item control.
·   Width
Set / Gets width of a StatusBar Item control..
·   Height
Gets height of a StatusBar Item control..
·   Icon
Set / Gets icon name of a StatusBar Item control.
·   Action(D)
Set action of a StatusBar Item control.
·   Flat(D)
The StatusBar Item text is drawn without any borders
·   Raised (D)
The StatusBar Item text with a border to appear higher than the window
·   ToolTip(D)
Set StatusBar Item tooltip text.
·   Default (D)
The StatusBar Item text with a border to appear lower than the window


D: Available at control definition only

EXAMPLE:

See demos in :
\Samples\Basic\Status
\Samples\Basic\StatusBar
\Samples\Basic\MAINDEMO_(SYNTAX_I) to _(SYNTAX_IV)

and sample in Chapter: 
Button + CheckBox = CheckButton