Returns information about the specified extended control item.
PROCEDURE GetControlData(
dialogID : LONGINT;
itemID : LONGINT;
VAR data : LONGINT);def vs.GetControlData(dialogID, itemID):
return data| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | Index of dialog layout containing the control item. |
| itemID | LONGINT | Index of the control item. |
| data | LONGINT | Current setting of the control. |
This function supports the following control types:
- color button -- the data is a 32-bit number of the red/green/blue components represented as 8-bit numbers
- slider -- the data is the slider position
Availability: from VectorWorks8.5