@...SPINNER DEFINE SPINNER
|
![]() ![]() ![]() |
Creates a spinner control.
SYNTAX
Standard Window:
@ <nRow> ,<nCol> SPINNER <ControlName>
[ OF | PARENT <ParentWindowName> ]
RANGE <nRangeMin> , <nRangeMax>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FONT <cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ ON GOTFOCUS <OnGotFocusProcedure> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
[ WRAP ]
[ READONLY ]
[ INCREMENT <nIncrement> ]
Alternate Syntax:
DEFINE SPINNER <Controlname>
[ ID <nId> ]
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
RANGEMIN <nRangeMin>
RANGEMAX <nRangeMax>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ FONTNAME <cFontname>
[ FONTSIZE <nFontsize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <cToolTipText> ]
[ BACKCOLOR <aBackColor> ]
[ FONTCOLOR <aFontColor> ]
[ ON GOTFOCUS <OnGotFocusProcedure> | <bBlock> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON LOSTFOCUS <OnLostFocusProcedure> | <bBlock> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]
[ WRAP < .T. | .F.> ]
[ READONLY < .T. | .F.> ]
[ INCREMENT <nIncrement> ]
END SPINNER
Remarks
The minimum value in the range can be from 0 to 65,535. Likewise, the maximum value can be from 0 to 65,535
PROPERTIES:
Set / Gets Spiner value.
| |
Set / Gets enabled state of a Spiner control
| |
Set / Gets visible a Spiner control.
| |
Set / Gets row position of a Spiner control.
| |
Set / Gets column position of a Spiner control.
| |
Set / Gets width of a Spiner control.
| |
Set / Gets height of a Spiner control.
| |
Set / Gets Spiner control's font name.
| |
Set / Gets Spiner control's font size.
| |
Set / Gets Spiner control's font bold property
| |
Set / Gets Spiner control's font italic property
| |
Set / Gets Spiner control's font underline property
| |
Set / Gets Spiner control's font strikeout property
| |
Set / Gets the foreground color for text within the Spiner
| |
Set / Gets the background color for text within the Spiner
| |
Set / Gets Spiner control's tooltip text.
| |
Set / Gets range max of a Spiner control.
| |
Set / Gets range min of a Spiner control.
| |
Set / Gets user property 'Cargo' for Spiner control
| |
Retrieves the name of a Spiner control.
| |
·
Parent (D)
|
Set the name as character identifier of the parent window.
|
Set the numeric help topic identifier of the control.
| |
·
Wrap (D)
|
Set value to the minimum value when the maximum value is reached
(and vice versa)
|
·
NoTabStop (D)
|
Sets whether an element behavior can't receive focus and participate in
the tabbing sequence
|
·
ReadOnly (D)
|
Sets Spinner control's readonly property
|
·
Increment (D)
|
Specifies how much the value in the Spinner control increases or
decreases
|
D: Available at control definition only
R: Read-Only
EVENTS:
An action to be performed when getting the focus
| |
An action to be performed when generic changing of the control
| |
An action to be performed when losing the focus.
|
METHODS:
Shows a Spiner control
| |
Hides a Spiner control
| |
Gives the focus to a Spiner control
| |
Releases a Spiner control from memory
| |
Save a Spiner control as BitMap file.
|