@...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:

·   Value
Set / Gets Slider value.
·   Enabled
Set / Gets enabled state of a Slider control
·    Visible
Set / Gets visible a Slider control.
·    Row
Set / Gets row position of a Slider control.
·    Col
Set / Gets column position of a Slider control.
·    Width
Set / Gets width of a Slider control.
·   Height
Set / Gets height of a Slider control.
·   RangeMax
Set / Gets range max of a Slider control.
·   RangeMin
Set / Gets range min of a Slider control..
·   ToolTip
Set / Gets Slider control's tooltip tex
·   Cargo
Set / Gets user property 'Cargo' for Slider control
·   Name (R)
Retrieves the name of a Slider control.
·   Parent (D)
Set the name as character identifier of the parent window.
·   HelpId (D)
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:

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

METHODS:

·   Show
Shows a Slider control
·   Hide
Hides a Slider control
·   SetFocus
Gives the focus to a Slider control
·   Release
Releases a Slider control from memory
·   SaveAs
Save a Slider control as BitMap file.