Resizeable

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:

dw_control.Object.controlname.Resizeable

Describe and Modify argument:

"controlname.Resizeable { = value }"

Parameter

Description

controlname

The control within the DataWindow whose Resizeable setting you want to get or set.

value

A boolean number indicating whether controlname can be resized.

Values are:

  • 0 – (False) The control cannot be resized.

  • 1 – (True) The control can be resized.

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

Example 1

string setting

setting = dw1.Object.graph_1.Resizeable

dw1.Object.graph_1.Resizeable = 1

Example 2

setting = dw1.Describe("graph_1.Resizeable")

dw1.Modify("graph_1.Resizeable=1")

dw1.Modify("bitmap_1.Resizeable=0")