VS:SetItemClickable: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 5: | Line 5: | ||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ||
<desc> | <desc> | ||
Sets the specified item to generate events when clicked. Currently only static text and images are supported.</desc> | Sets the specified item to generate events when clicked. Currently only static text and images are supported. | ||
Remark: Use in the dialogs setup event handler. Changes the cursor if the mouse is over the item to indicate its clickability. | |||
</desc> | |||
----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
Latest revision as of 14:54, 26 April 2018
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Sets the specified item to generate events when clicked. Currently only static text and images are supported.
Remark: Use in the dialogs setup event handler. Changes the cursor if the mouse is over the item to indicate its clickability.
PROCEDURE SetItemClickable(
dialogID :LONGINT;
componentID :LONGINT;
clickable :BOOLEAN);
def vs.SetItemClickable(dialogID, componentID, clickable): return None
Parameters
dialogID LONGINT componentID LONGINT clickable BOOLEAN
Version
Availability: from Vectorworks 2010