Resizeable
property (DataWindow object)
Description
Whether the user can resize the specified control.
Applies to
Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval,
Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text
controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.Resizeable |
Describe and Modify argument:
|
1 |
"controlname.Resizeable { = value }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The control within the DataWindow whose Resizeable |
|
value |
A boolean number indicating whether controlname can Values are: 0 — (False) The 1 — (True) The control |
Usage
In the painter
Select the control and set the value in the Properties view,
Position tab.
When you make the control resizable, set the Border property to
the resizable border so the user knows it is resizable.
Examples
|
1 2 3 4 5 6 |
string setting setting = dw1.Object.graph_1.Resizeable dw1.Object.graph_1.Resizeable = 1 setting = dw1.Describe("graph_1.Resizeable") dw1.Modify("graph_1.Resizeable=1") dw1.Modify("bitmap_1.Resizeable=0") |