WebSlider

From Xojo Documentation


For desktop applications, see Slider.

Class (inherits from WebControl)


New in 2010r4

A basic slider control. If the width is greater than the height, it will be horizontal. If not, is vertical.

Events
Close KeyPressed MouseUp
ContextualMenuAction LostFocus Open
DoubleClick MouseDown Resized
DropObject MouseEnter Shown
GotFocus MouseExit ValueChanged
Hidden MouseMove
Properties
ContextualMenu LiveStep Style
ControlID fa-lock-32.png LockBottom Top
Cursor LockHorizontal Value
DragOverStyle LockLeft VerticalCenter
Enabled LockRight Visible
Height LockTop Width
HelpTag LockVertical Zindex
HorizontalCenter Maximum
Left Minimum
Methods
AcceptPictureDrop AllowRawDataDrag MsgBox
AcceptRawDataDrop AllowTextDrag PresentContextualMenu
AcceptTextDrop Close SetFocus
AllowPictureDrag ExecuteJavaScript ShowURL

Sample Code

This code in the ValueChanged event handler displays the Slider value in a Label:

Label1.Text = "Slider value = " + Me.Value.ToString

See Also

WebScrollbar control