TActiveImageButton

API Manual

TActiveImageButton is the active counterpart of TImageButton. When a TActiveImageButton is clicked, rather than a normal post back request a callback request is initiated. TheOnCallback event is raised during a callback request and it is raised after the OnClick event.

TActiveImageButton is similar to TActiveButton, except that TActiveImageButton displays the button as an image. The image is specified via ImageUrl, and the alternate text is specified by Text. In addition, it is possible to obtain the coordinate of the point where the image is clicked. The coordinate information is contained in the event parameter of the OnClick event (not OnCallback).