From Xojo Documentation
|You are currently browsing the old Xojo documentation site. It will go offline as of October 2, 2023. Please visit the new Xojo documentation site! - you will be redirected shortly...|
| This item was deprecated in version 2021r3.
Please use DesktopSlider as a replacement.
Supported PlatformsProject Types: Desktop Platforms: macOS, Windows, Linux
- For web apps, see WebSlider.
The slider control used by desktop applications. As the user moves the slider, the Value property changes. To create a vertical slider, make the height greater than the width.
Sliders default to a height of 23 pixels so they use the normal size on all platforms.
On macOS Sierra (10.12) and later, vertical sliders no longer appear automatically when the height is greater than the width. To enable a vertical slider, put this code in the Open event handler for the Slider:
Changing the maximum value of a Slider at runtime:
Setting the text of TextField1 to the value of the slider when the user scrolls.