Difference between revisions of "DesktopSlider.TickMarkStyle"

From Xojo Documentation

(Created page with "N/A")
 
 
Line 1: Line 1:
N/A
+
{{PropertyBox
 +
| name=TickMarkStyle
 +
| owner=[[DesktopSlider]]
 +
| ownertype=class
 +
| scope=public
 +
| type=[[TickStyles Enumeration]]
 +
| platform=all
 +
| readonly=no
 +
| newinversion=2021r3
 +
}}
 +
{{Description
 +
|text = Adds tick marks to the Slider. }}
 +
 
 +
==Notes==
 +
 
 +
Use [[DesktopSlider.TickMarkStyles|TickMarkStyles]] to set this property.
 +
 
 +
If the value is None, then there are no tick marks. Setting TickMarkStyle to TopLeft places tick marks above a horizontal Slider or to the left of a vertical Slider. Setting TickMarkStyle to BottomRight places tick marks below or to the right of the Slider.
 +
 
 +
==Example==
 +
 
 +
This example is in the Initialized event of the control. It sets the TickMarkStyle to Bottom Right.
 +
 
 +
<rbcode>
 +
  Me.TickMarkStyle = Slider.TickMarkStyles.BottomRight
 +
</rbcode>
 +
 
 +
==See Also==
 +
 
 +
[[DesktopSlider.TickMarkStyles|TickMarkStyles]] enumeration.
 +
 
 +
[[Category:API 2.0]]

Latest revision as of 20:21, 23 July 2021

Property (As TickStyles Enumeration )
aDesktopSlider.TickMarkStyle = newTickStyles EnumerationValue
or
TickStyles EnumerationValue = aDesktopSlider.TickMarkStyle

New in 2021r3

Supported for all project types and targets.

Adds tick marks to the Slider.

Notes

Use TickMarkStyles to set this property.

If the value is None, then there are no tick marks. Setting TickMarkStyle to TopLeft places tick marks above a horizontal Slider or to the left of a vertical Slider. Setting TickMarkStyle to BottomRight places tick marks below or to the right of the Slider.

Example

This example is in the Initialized event of the control. It sets the TickMarkStyle to Bottom Right.

Me.TickMarkStyle = Slider.TickMarkStyles.BottomRight

See Also

TickMarkStyles enumeration.