Supplying property values
310 DataWindow .NET
Pen.Width
Description
The width of the line or the outline of a graphic control.
In the painter
Pen Width on the General page in the Properties view.
Value
An integer in the unit of measure specified for the DataWindow object. Units
of measure include PowerBuilder units, thousandths of an inch (1000 = 1 inch),
thousandths of a centimeter (1000 = 1 centimeter), or pixels.
Example
The following statement causes the width of a line to be 10 PowerBuilder units
if the state column for the row has the value NY. Otherwise, the line is 4
PowerBuilder units wide:
If(state = 'NY', 10, 4)
For more details and pictures, see “Example 4: changing the size and location
of controls” on page 294.
Pointer
Description
The image used for the mouse pointer when the pointer is over the specified
control.
In the painter
Pointer on the Pointer page in the Properties view.
Value
A string that specifies a value of the Pointer enumerated data type or the name
of a cursor file (CUR) used for the pointer.
Values of the Pointer enumerated data type are:
Arrow!
Cross!
HourGlass!
IBeam!
Icon!
Size!
SizeNESW!
SizeNS!
SizeNWSE!
SizeWE!
UpArrow!