Label.property DataWindow object property
Description
Settings for a DataWindow whose presentation style is Label.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.DataWindow.Label.<span>property</span> |
Describe and Modify argument:
1 |
"DataWindow.Label.<span>property</span> { = <span>value</span> }" |
DataWindowSyntaxFromSql:
1 |
DataWindow(Label.<span>property</span> =<span> value</span>) |
Parameter |
Description |
---|---|
property |
A property for the Label presentation |
value |
The value to be assigned to the property. |
Property for Label |
Value |
---|---|
Columns |
An integer indicating the number of columns Painter: Label group, Labels Across option. |
Columns.Spacing |
An integer indicating the space between Painter: Arrangement group, Between Columns option. |
Ellipse_Height |
An integer specifying the height of the Painter: Not set in painter. |
Ellipse_Width |
An integer specifying the width of the Painter: Not set in painter. |
Height |
An integer specifying the height of a Painter: Label group, Height option. |
Name |
A string containing the name of a label. Painter: Predefined Label option. |
Rows |
An integer indicating the number of rows Painter: Label group, Labels Down option. |
Rows.Spacing |
An integer indicating the space between Painter: Arrangement group, Between Rows option. |
Shape |
A string specifying the shape of a label. Values are:
Painter: Not set in painter. |
Sheet |
(Describe only) Values are:
Painter: Arrangement group, Paper option. |
TopDown |
(Describe only) Values are:
Painter: Arrangement group, Arrange option. |
Width |
An integer specifying the width of a Painter: Label group, Width option. |
Usage
In the painter
Select the DataWindow object by deselecting all controls;
then set the value in the Properties view, General tab (when presentation
style is Label).
Examples
1 |
string setting |
1 |
setting = dw1.Object.DataWindow.Label.Sheet |
1 |
dw1.Object.DataWindow.Label.Width = 250 |
1 |
setting = dw1.Describe("DataWindow.Label.Sheet") |
1 |
dw1.Modify("DataWindow.Label.Width=250") |
1 |
dw1.Modify("DataWindow.Label.Height=150") |
1 |
dw1.Modify("DataWindow.Label.Columns=2") |
1 |
dw1.Modify("DataWindow.Label.Width=250") |
1 |
dw1.Modify("DataWindow.Label.Name='Address1'") |