Width

Description

The width of the specified control.

Applies to

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

Syntax

Describe and Modify argument:

"controlname.Width { = ' value ' }"

Parameter

Description

controlname

The name of the control for which you want to get or set the width.

value

(exp) The width of the controlname in the units 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

Example 1

[Visual Basic]
setting = dw_1.Describe("emp_name.Width")

Example 2

dw_1.Modify("emp_name.Width=250")