Creates an image push button. Replaces CreateIconPushButton
PROCEDURE CreateImagePushButton(
dialogID : LONGINT;
controlID : LONGINT;
widthInCharacters : INTEGER;
imageSpecifier : DYNARRAY[] of CHAR);def vs.CreateImagePushButton(dialogID, controlID, widthInCharacters, imageSpecifier):
return None| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | The dialog identifier given by the command to create the dialog. |
| controlID | LONGINT | The identifier that should be assigned to the control. |
| widthInCharacters | INTEGER | The width of the control. |
| imageSpecifier | DYNARRAY[] of CHAR | The string identifier for the image. It should be of the form "ResourceFileNameWithoutExtension/PathOfImageFile". |
Availability: from Vectorworks 2012