Sets the width and height of the specified Layout Manager component in pixels. Remark: Works in the dialog's setup handler. Can be used with AdjustComponentPixelPos.
FUNCTION SetComponentSize(
nDialogID : LONGINT;
nComponentID : LONGINT;
nWidthPixels : INTEGER;
nHeightPixels : INTEGER): BOOLEAN;def vs.SetComponentSize(nDialogID, nComponentID, nWidthPixels, nHeightPixels):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| nDialogID | LONGINT | |
| nComponentID | LONGINT | |
| nWidthPixels | INTEGER | |
| nHeightPixels | INTEGER |
Availability: from VectorWorks13.0