ITextSpinButton::Cursor

The ITextSpinButton::Cursor class creates and manages the cursor for an ITextSpinButton object. In the same way that you can use a cursor to traverse the objects in a collection, you can use this cursor to traverse the text items in a text spin button, one item at a time.


ITextSpinButton::Cursor - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~Cursor
public:
virtual ~Cursor()

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
Cursor
public:
Cursor(const ITextSpinButton& spinButton)

You can construct objects of this class from an object of ITextSpinButton.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Cursor Movement

Use these members to change the cursor position.


[view class]
setToFirst
public:
virtual bool setToFirst()

Points to the first item in the text list.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToLast
public:
virtual bool setToLast()

Points to the last item in the text list.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToNext
public:
virtual bool setToNext()

Points to the next item in the text list. If there is none, the cursor is invalidated.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
setToPrevious
public:
virtual bool setToPrevious()

Points to the previous item in the text list. If there is none, the cursor is invalidated.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Cursor Validation

Use these members to check and reset the validity of the cursor.


[view class]
invalidate
public:
virtual void invalidate()

Flags this cursor as invalid.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
isValid
public:
virtual bool isValid() const

Queries whether this cursor points to a valid item.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


ITextSpinButton::Cursor - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data