VS:CreatePushButton
.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
Version
Availability: from VectorWorks9.0