<< Click to Display Table of Contents >> Clickable Objects |
[GUI Control Only, Professional Edition and above]
Objects can be made clickable by assigning them a unique Object ID. Moving with the mouse over such an object in the preview changes the cursor to a pointing hand. If the user clicks onto such an object, VPE fires the event DoObjectClicked() (VCL: OnObjectClicked(), .NET: ObjectClicked Event) to your application which includes the assigned Object ID.
In reaction to the event you can for example open a separate dialog, showing more detailed information about the clicked text or image.
See also the source code of the "Clickable Objects" demo.