HScrollBar control
An HScrollBar is a horizontal bar with arrows at either
end and a scroll box. Typically, you use an HScrollBar control as
a slider control employed by users to specify a value on a continuous
scale, or as a way to display graphically information to the user.
The HScrollBar control is not the horizontal scroll bar that
displays to allow the user to scroll through information in a control.
Properties
HScrollBar property |
Datatype |
Description |
---|---|---|
String |
A description of the control and/or |
|
String |
A label that briefly describes the control, |
|
AccessibleRole (enumerated) |
Describes what kind of user interface |
|
Boolean |
Specifies whether PowerBuilder moves
|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Boolean |
Specifies whether PowerBuilder puts the
|
|
String |
Specifies the name of the stock icon When the user drags the control, the icon displays when the control |
|
Integer |
Specifies the height of the control, |
|
Integer |
Specifies the value of the Position property |
|
Integer |
Specifies the value of the Position property |
|
String |
Specifies the name of the stock pointer |
|
Integer |
Specifies a value between MinPosition |
|
Boolean |
Specifies whether PowerBuilder uses the
|
|
Integer |
Specifies the tab value of the control |
|
String |
Specifies the tag value assigned to the |
|
Boolean |
Specifies whether the control is visible.
|
|
Integer |
Specifies the width of the control, in |
|
Integer |
Specifies the X position (the distance |
|
Integer |
Specifies the Y position (the distance |
Events
HScrollBar event |
Occurs |
---|---|
Immediately before the Open event occurs |
|
Immediately after the Close event occurs |
|
When a dragged control is dropped on |
|
When a dragged control enters the control |
|
When a dragged control leaves the control |
|
When a dragged control is within the |
|
Just before the control receives focus |
|
When the user presses the F1 key or drags |
|
When the left arrow of the control is |
|
When the right arrow of the control is |
|
When the control loses focus (becomes |
|
When the scroll box is moved (use the |
|
When a Windows message occurs that is |
|
When the open space to the left of the |
|
When the open space to the right of the |
|
When the right mouse button is pressed |
Functions
HScrollBar function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the control |
|
Integer |
Starts or ends the dragging of the control |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
Integer |
Makes the control invisible |
|
Integer |
Moves the control to a specified location |
|
Integer |
Returns the distance of the pointer from |
|
Integer |
Returns the distance of the pointer from |
|
Boolean |
Adds an event to the end of the message |
|
Integer |
Prints the control |
|
Integer |
Changes the size of the control |
|
Integer |
Sets the focus to the control |
|
Integer |
Specifies the position of the control |
|
Integer |
Controls automatic redrawing of the control |
|
Integer |
Makes the control visible |
|
Integer |
Triggers a specified event in the control |
|
Object |
Returns the type of the control |