Width DataWindow object property
Description
The width of the specified control.
Controls
Button, Column, Computed Field, Graph, GroupBox, OLE, Oval,
Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text
controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Width |
Describe and Modify argument:
1 |
"<span>controlname</span>.Width { = '<span> value</span> ' }" |
Parameter |
Description |
---|---|
controlname |
The name of the control for which you |
value |
(exp) The width |
Usage
In the painter
Select the control and set the value in the Properties view, Position
tab.
Examples
1 |
string setting |
1 |
setting = dw1.Object.emp_name.Width |
1 |
dw1.Object.emp_name.Width = 250 |
1 |
setting = dw1.Describe("emp_name.Width") |
1 |
dw1.Modify("emp_name.Width=250") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest