Share via


LineDisplay.CursorColumn Property (POS for .NET v1.12 SDK Documentation)

2/27/2008

Gets or sets the column in the active window to which the next displayed character will be output.

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

Syntax

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

/** @property */
public abstract void set_CursorColumn (int value)
public abstract function get CursorColumn () : int

public abstract function set CursorColumn (value : int)

Remarks

Legal values range from zero through the value of the Columns property. (See the DisplayText method for a note on the interpretation of CursorColumn = Columns.)

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

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

Value

Meaning

Illegal

CursorColumn 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
CursorRow
CursorUpdate
LineDisplay.CreateWindow Method
LineDisplay.DestroyWindow Method
LineDisplay.RefreshWindow Method
LineDisplay.ClearText Method
LineDisplay.CurrentWindow Property