@...SLIDER DEFINE SLIDER
|
![]() ![]() ![]() |
Creates a slider control.
SYNTAX
Standard Window:
@ <nRow> ,<nCol> SLIDER <ControlName>
[ ID <nId> ]
[ OF | PARENT | DIALOG <ParentWindowName> ]
RANGE <nRangeMin> , <nRangeMax>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ BACKCOLOR <aBackColor> ]
[ TOOLTIP <cToolTipText> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON SCROLL <scroll>
]
[ VERTICAL ]
[ NOTICKS ]
[ BOTH ]
[ TOP ]
[ LEFT ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
Dialog Window:
REDEFINE SLIDER <ControlName>
ID <nId>
[ OF | PARENT | DIALOG <ParentWindowName> ]
RANGE <nRangeMin> , <nRangeMax>
[ VALUE <nValue> ]
[ BACKCOLOR <aBackColor> ]
[ TOOLTIP <cToolTipText> ]
[ ON CHANGE <OnChangeProcedure> | <bBlock> ]
[ ON SCROLL <scroll>
]
[ VERTICAL ]
[ NOTICKS ]
[ BOTH ]
[ TOP ]
[ LEFT ]
[ HELPID <nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]
Alternate Syntax:
DEFINE SLIDER <ControlName>
[ ID <nId> ]
[ PARENT <ParentWindowName> ]
COL <nCol>
ROW <nRow>
RANGEMIN <nRangeMin>
RANGEMAX <nRangeMax>
[ VALUE <nValue> ]
[ WIDTH <nWidth> ]
[ HEIGHT <nHeight> ]
[ BACKCOLOR <aBackColor> ]
[ TOOLTIP <cToolTipText> ]
[ ONCHANGE <OnChangeProcedure> | <bBlock> ]
[ ONSCROLL <scroll> ]
[ VERTICAL < .T. | .F.> ]
[ NOTICKS < .T. | .F.> ]
[ BOTH < .T. | .F.> ]
[ TOP < .T. | .F.> ]
[ LEFT < .T. | .F.> ]
[ HELPID <nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]
END SLIDER
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 Slider
value.
| |
Set / Gets enabled state of a Slider control
| |
Set / Gets visible a Slider control.
| |
Set / Gets row position of
a Slider control.
| |
Set / Gets column position of a Slider control.
| |
Set / Gets width of a Slider control.
| |
Set / Gets height of a Slider control.
| |
Set / Gets range max of a Slider control.
| |
Set / Gets range
min of a Slider control..
| |
Set / Gets Slider control's tooltip tex
| |
· Cargo
|
Set / Gets user property 'Cargo' for Slider control
|
Retrieves the name of a Slider control.
| |
· Parent (D)
|
Set the name as character identifier of the parent window.
|
Set the numeric help topic identifier of the control.
| |
· Vertical (D)
|
Sets the value to create Vertical Slider.
|
· NoTicks (D)
|
Sets the positions of the tick marks to display for a Slider control
|
· Both (D)
|
Sets the
tick marks on both sides of a Slider control
|
· Top (D)
|
Sets the tick marks above a
Horizontal Slider control
|
· Left (D)
|
Sets the tick marks to the left of
Vertical Slider control
|
D: Available at control definition only
R: Read-Only
EVENTS:
An action to be performed when generic changing of the control
|
METHODS:
Shows a Slider
control
| |
Hides a Slider control
| |
Gives the focus to a Slider control
| |
Releases a Slider control from memory
| |
Save a Slider control as BitMap file.
|