Width
property (DataWindow object)
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
PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.Width |
Describe and Modify argument:
|
1 |
"controlname.Width { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the control for which you want to get |
|
value |
(exp) The width of the controlname in the units |
Usage
In the painter
Select the control and set the value in the Properties view,
Position tab.
Examples
|
1 2 3 4 5 |
string setting setting = dw1.Object.emp_name.Width dw1.Object.emp_name.Width = 250 setting = dw1.Describe("emp_name.Width") dw1.Modify("emp_name.Width=250") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest