info(“clickedobjectid”)

The info(“clickedobjectid”) function returns the object ID of the clicked object.


Description

This function returns the object ID of the clicked object. Needless to say it only makes sense to use this object in a procedure that is triggered by clicking on an object in a form. Once you have the object id, you can use the objectinfo( function to find out any property of the object.

This code is designed to be triggered when a button is pressed – it displays the title of the button (if any).

message objectinfo("title",info("clickedobjectid"))

See Also


History

VersionStatusNotes
10.0NewNew in this version.