Interface IScrollBar
A PowerBuilder scroll bar.
Inherited Members
Namespace: HP.LFT.SDK.PowerBuilder
Assembly: HP.LFT.SDK.dll
Syntax
public interface IScrollBar : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
Properties
MaxPosition
The maximum scrolling position.
Declaration
int MaxPosition { get; }
Property Value
| Type | Description |
|---|---|
| int |
MinPosition
The minimum scrolling position.
Declaration
int MinPosition { get; }
Property Value
| Type | Description |
|---|---|
| int |
Position
The scroll bar position.
Declaration
int Position { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
NextLine(int)
Moves the scroll bar downward, or to the right, the specified number of lines.
Declaration
void NextLine(int numberOfLines = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numberOfLines | The number of lines to move the scroll bar (Default value: 1). |
NextPage(int)
Moves the scroll bar downward, or to the right, the specified number of pages.
Declaration
void NextPage(int numberOfPages = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numberOfPages | The number of pages to move the scroll bar (Default value: 1). |
PreviousLine(int)
Moves the scroll bar upward, or to the left, the specified number of lines.
Declaration
void PreviousLine(int numberOfLines = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numberOfLines | The number of lines to move the scroll bar (Default value: 1). |
PreviousPage(int)
Moves the scroll bar upward, or to the left, the specified number of pages.
Declaration
void PreviousPage(int numberOfPages = 1)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numberOfPages | The number of pages to move the scroll bar (Default value: 1). |
SetPosition(int)
Sets the scroll bar position.
Declaration
void SetPosition(int position)
Parameters
| Type | Name | Description |
|---|---|---|
| int | position | The scroll bar position to be set. |