A line drawing object is a single, straight solid or dashed line.
Line property |
Datatype |
Description |
---|---|---|
Integer |
Specifies the X position of one end of the line (the distance from the left edge of the window), in PowerBuilder units. |
|
Integer |
Specifies the Y position of one end of the line (the distance from the top of the window), in PowerBuilder units. |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control. |
Integer |
Specifies the X position of the other end of the line (the distance from the left edge of the window), in PowerBuilder units. |
|
Integer |
Specifies the Y position of the other end of the line (the distance from the top of the window), in PowerBuilder units. |
|
Long |
Specifies the numeric value of the line color: -2 to 16,777,215. For more information about color, see the RGB function in the PowerScript Reference. |
|
LineStyle (enumerated) |
Specifies the style of the line. Values are:
|
|
LineThickness |
Integer |
Specifies the thickness of the line, in PowerBuilder units. If LineThickness is greater than one pixel (about three PowerBuilder units), the LineStyle is Continuous!. |
String |
Specifies the tag value assigned to the control. |
|
Boolean |
Specifies whether the control is visible. Values are:
|
Error event |
Occurs |
---|---|
When the user object is created. |
|
When the user object is destroyed. |
Line function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control. |
|
Integer |
Creates a reference to a context-specific instance of the specified service. |
|
PowerObject |
Returns a reference to the name of the parent object. |
|
Integer |
Makes the control invisible. |
|
Integer |
Moves the control to a specified location. |
|
Integer |
Changes the length of the control (changes the settings of the BeginX BeginY, EndX, and EndY properties). |
|
Integer |
Makes the control visible. |
|
Object |
Returns the type of the control. |