You are hereBounds
Bounds
Used to set the size, position, minimum and maximum size of an widget.
Available sub properties are :
- cx : set width of widget.
- cxmax : set the maximum width of widget is allowed.
- cxmin: set the minimum width of widget is allowed.
- cy : set height of widget.
- cymax : set the maximum height of widget is allowed.
- cymin : set the minimum height of widget is allowed.
- x : set the left position of widget.
- y : set the top position of widget is allowed.
Note :
- All values is in pixel unit.
- Maximum and minimum size will be effect if you activate the anchors property or widget is attached by tsplitter, tlayouter.
If you will set these sub properties using code, you must insert "bounds_" before sub properties that will be changed. For example bounds_cx, bounds_cy, bounds_cxmax, etc.
tbutton1.bounds_cx:= 200;
tbutton1.bounds_cy:= 100;
tbutton1.bounds_cxmax:= 300;
tbutton1.bounds_cxmin:= 100;

