Height

Description

The height of a control in the DataWindow.

Applies to

Button, Column, Computed Field, Graph, GroupBox, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.Height

Describe and Modify argument:

"controlname.Height { = ' value ' }"

Parameter

Description

controlname

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

value

(exp) An integer specifying the height of the control in the unit of measure specified for the DataWindow. Value can be a quoted DataWindow expression.


Usage

In the painter

Select the control and set the value in the Properties view, Position tab.

Examples

string setting
setting = dw1.Object.empname.Height
dw1.Object.empname.Height = 50
setting = dw1.Describe("empname.Height")
dw1.Modify("empname.Height=50")