Table of Contents

Interface ILabel

Namespace
HP.LFT.SDK.SAP.GUI
Assembly
HP.LFT.SDK.dll

A label control in a SAP GUI for Windows application.

public interface ILabel : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject
Inherited Members
Extension Methods

Properties

IconName

The name of the icon used in the label.

string IconName { get; }

Property Value

string

IsHighlighted

Indicates whether the label is highlighted.

bool IsHighlighted { get; }

Property Value

bool

IsNumerical

Indicates whether the label is a numerical field.

bool IsNumerical { get; }

Property Value

bool

MaxLength

The maximum number of characters that can be displayed in the label.

uint MaxLength { get; }

Property Value

uint

RelativeId

The object's unique identifier relative to the parent window ID, in text format.

string RelativeId { get; }

Property Value

string

Text

The value of the label, either the text string or the icon name.

string Text { get; }

Property Value

string

Methods

SetCursorPosition(uint)

Sets the position of the cursor within the static text label.

void SetCursorPosition(uint pos)

Parameters

pos uint

The 0-based character position.

SetFocus()

Sets the focus on the static text label.

void SetFocus()