Clickable Objects

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Clickable Objects

Previous pageReturn to chapter overviewNext page

[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.