Share via


LineDisplay.CursorRow Property

2/27/2008

Gets or sets the row in the active window to which the next displayed character is written.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property CursorRow As Integer
public abstract int CursorRow { get; set; }
public:
virtual property int CursorRow {
    int get () abstract;
    void set (int value) abstract;
}
/** @property */
public abstract int get_CursorRow ()

/** @property */
public abstract void set_CursorRow (int value)
public abstract function get CursorRow () : int

public abstract function set CursorRow (value : int)

Remarks

Legal values range from (zero) through the value of the Rows property, minus 1.

The Open and CreateWindow methods initialize CursorRow to 0 (zero), and it is updated when the application sets the CurrentWindow property or calls the ClearText, DisplayTextAt, or DestroyWindow methods. CursorRow is also updated when the application calls the DisplayText method, if the CursorUpdate property is set to true.

Accessing CursorRow may cause a PosControlException to be thrown with the following ErrorCode.

Value

Meaning

Illegal

CursorRow was set to a value that is not valid.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

LineDisplay Class
LineDisplay Members
Microsoft.PointOfService Namespace
LineDisplay.CursorColumn Property
LineDisplay.ClearText Method
LineDisplay.CreateWindow Method
LineDisplay.DestroyWindow Method