Interface ILabel
A label control in a SAP GUI for Windows application.
Inherited Members
Namespace: HP.LFT.SDK.SAP.GUI
Assembly: HP.LFT.SDK.dll
Syntax
public interface ILabel : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject
Properties
IconName
The name of the icon used in the label.
Declaration
string IconName { get; }
Property Value
| Type | Description |
|---|---|
| string |
IsHighlighted
Indicates whether the label is highlighted.
Declaration
bool IsHighlighted { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsNumerical
Indicates whether the label is a numerical field.
Declaration
bool IsNumerical { get; }
Property Value
| Type | Description |
|---|---|
| bool |
MaxLength
The maximum number of characters that can be displayed in the label.
Declaration
uint MaxLength { get; }
Property Value
| Type | Description |
|---|---|
| uint |
RelativeId
The object's unique identifier relative to the parent window ID, in text format.
Declaration
string RelativeId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Text
The value of the label, either the text string or the icon name.
Declaration
string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
SetCursorPosition(uint)
Sets the position of the cursor within the static text label.
Declaration
void SetCursorPosition(uint pos)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | pos | The 0-based character position. |
SetFocus()
Sets the focus on the static text label.
Declaration
void SetFocus()