Sets a dialog control?s bindings to be proportional. Proportional bindings maintain a distance that is a ratio of the initial position to the width (or height, as appropriate) of the parent. To change a control?s bindings to be fixed, use SetEdgeBinding.
PROCEDURE SetProportionalBinding(
dialogID : LONGINT;
itemID : LONGINT;
leftProportional : BOOLEAN;
rightProportional : BOOLEAN;
topProportional : BOOLEAN;
bottomProportional : BOOLEAN);def vs.SetProportionalBinding(dialogID, itemID, leftProportional, rightProportional, topProportional, bottomProportional):
return None| Name | Type | Description |
|---|---|---|
| dialogID | LONGINT | |
| itemID | LONGINT | |
| leftProportional | BOOLEAN | |
| rightProportional | BOOLEAN | |
| topProportional | BOOLEAN | |
| bottomProportional | BOOLEAN |
VS Functions: CreateResizableLayout | SetEdgeBinding
Availability: from VectorWorks12.0