Occurs when the ThumbValue property has changed on the object using the keyboard or the mouse or by changing the ThumbValue property.
Object.OnChange ( lThumbIndex, dThumbValue )
The OnChange event syntax has the following parts:
Name |
Type |
Description |
Object |
ASlider |
ASlider control |
lThumbIndex |
Val Long |
An integer specifying the index of the thumb on the control. |
dThumbValue |
Val Double |
The new value of the thumb. |
The index is zero-based.
The following is an example of this event for the second thumb:
sld1.OnChange(1,dThumbValue)
{
ck1.Caption="Change noted"
}
AThumb, AThumbValue, InsertThumb, RemoveThumb, ThumbActive, ThumbCount, Thumbs