|
|
|
|
|
- Overview
- Retrieving the cursor position
- Modifying the cursor position
- Properties specific to Scrollbar controls
Manipulating Scrollbar controls programmatically
WINDEV allows you to programmatically manipulate Scrollbar controls. To do so, use the variable of the scrollbar control in the code. The variable of the Scrollbar control: - corresponds to the name of the scrollbar.
- is initialized with the position of scrollbar box.
Retrieving the cursor position To retrieve the position of the cursor in a Scrollbar control, use the following syntax: <Position> = <Nom Ascenseur> <Position> is an integer variable Note: It's also possible to use the Value property. Modifying the cursor position To modify the position of the cursor in a Scrollbar control, use the following syntax: <Nom Ascenseur> = <valeur> <Value> is a value found between the minimum and maximum value of the scrollbar. These values have been defined in the control description window or in the code with the MinValue and MaxValue properties. Note: It's also possible to use the Value property. Properties specific to Scrollbar controls The following properties are specific to programmable Scrollbar control. | | Advance | Used to find out and modify the scroll value of a Scrollbar control. | ScrollValue | Used to find out and modify the scroll value of a Scrollbar control. | MaxValue | Used to find out and modify the maximum bound of a Scrollbar control. | MinValue | Used to find out and modify the minimum bound of a Scrollbar control. |
For a complete list of WLanguage properties that can be used with Scrollbar controls, see Scrollbar control properties.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|