TdxCustomImageSlider.OnChange Event
Enables you to respond to image sliding.
Declaration
property OnChange: TNotifyEvent read; write;
Remarks
This event is fired before the sliding animation plays in response to switching the currently displayed image using any of the following methods:
Clicking a scroll button or using the scrollbar, whichever is enabled by the ScrollMode property setting;
Calling the GoToImage, GoToNextImage, or GoToPrevImage method;
Clicking a thumbnail within the preview panel.
The Sender parameter references the slider control that fired the event.
Note that programmatically modifying the ItemIndex property value doesn’t fire the OnChange event.
See Also