JVCL Help:TJvCustomImageButton.OnGetAnimateIndex

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs just before a new image is to be displayed in an animation sequence


Pascal

 TJvImgBtnAnimIndexEvent = procedure (Sender: TObject; CurrentAnimateFrame: Byte; varImageIndex: Integer) ofobject;
propertyOnGetAnimateIndex: TJvImgBtnAnimIndexEvent;


Parameters

Parameters Description
ImageIndex The index of the next image to display
CurrentAnimateFrame The index of the currently displayed image
Sender The object that triggered the event


Description

Assign a handler to this event if you want to be notified when the image is changed in the button or if you want to handle image transitions yourself. Assign a new value to ImageIndex to change the next image that is displayed.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page