VS:CreatePushButton

From Vectorworks Developer
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Creates a new push button control in a dialog layout.

PROCEDURE CreatePushButton(
dialogID :LONGINT;
itemID :LONGINT;
text :STRING);
def vs.CreatePushButton(dialogID, itemID, text):
    return None

Parameters

dialogID LONGINT The index of the dialog layout containing the control.
itemID LONGINT The index that will identify the control item.
text STRING The display text for the control.

Remarks

[DWD 1/20/00]

Version

Availability: from VectorWorks9.0