VS:CreateBorderlessBtn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (1 revision: new v) |
(No difference)
|
Latest revision as of 16:45, 15 September 2023
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Creates a borderless button control in a dialog layout.
PROCEDURE CreateBorderlessBtn(
dialogID :LONGINT;
itemID :LONGINT;
label :DYNARRAY[] of CHAR;
iconResPath :DYNARRAY[] of CHAR;
isToggleButton :BOOLEAN);
def vs.CreateBorderlessBtn(dialogID, itemID, label, iconResPath, isToggleButton): return None
Parameters
dialogID LONGINT The ID of the dialog itemID LONGINT The ID of the control label DYNARRAY[] of CHAR Label of the button. If the label is empty, this button will be a small untitled borderless button. iconResPath DYNARRAY[] of CHAR The resource path of the icon isToggleButton BOOLEAN A boolean to specify whether this is a toggle button
Version
Availability: from Vectorworks 2024