Label.property
property (DataWindow object)
Description
Settings for a DataWindow whose presentation style is
Label.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Label.property |
Describe and Modify argument:
|
1 |
"DataWindow.Label.property { = value }" |
SyntaxFromSql:
|
1 |
DataWindow(Label.property = value) |
|
Parameter |
Description |
|---|---|
|
property |
A property for the Label presentation style. |
|
value |
The value to be assigned to the property. For Label |
|
Property for Label |
Value |
|---|---|
|
Columns |
An integer indicating the number of columns of Painter: Label group, Labels |
|
Columns.Spacing |
An integer indicating the space between columns of Painter: Arrangement group, Between Columns |
|
Ellipse_Height |
An integer specifying the height of the rounded Painter: Not set in painter. |
|
Ellipse_Width |
An integer specifying the width of the rounded Painter: Not set in painter. |
|
Height |
An integer specifying the height of a label in the Painter: |
|
Name |
A string containing the name of a Painter: Predefined Label |
|
Rows |
An integer indicating the number of rows of labels Painter: Label group, Labels Down |
|
Rows.Spacing |
An integer indicating the space between rows of Painter: Arrangement group, Between Rows |
|
Shape |
A string specifying the shape of a Values Rectangle RoundRectangle Oval Painter: |
|
Sheet |
(Describe only) Whether the paper is sheet fed or Values are: Yes — Sheet No — Continuous Painter: |
|
TopDown |
(Describe only) Whether the labels will be printed Values are: No — Print labels Yes — Print labels from top to Painter: Arrangement group, Arrange |
|
Width |
An integer specifying the width of a label in the Painter: |
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 2 3 4 5 6 7 8 9 |
string setting setting = dw1.Object.DataWindow.Label.Sheet dw1.Object.DataWindow.Label.Width = 250 setting = dw1.Describe("DataWindow.Label.Sheet") dw1.Modify("DataWindow.Label.Width=250") dw1.Modify("DataWindow.Label.Height=150") dw1.Modify("DataWindow.Label.Columns=2") dw1.Modify("DataWindow.Label.Width=250") dw1.Modify("DataWindow.Label.Name='Address1'") |