### 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.

~Cursor

      public:
      virtual ~Cursor()

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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.

setToFirst

      public:
      virtual bool setToFirst()

  Points to the first item in the text list.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

setToLast

      public:
      virtual bool setToLast()

  Points to the last item in the text list.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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

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.

invalidate

      public:
      virtual void invalidate()

  Flags this cursor as invalid.

Supported Platforms

  Windows | OS/2 | AIX
  Yes | Yes | Yes

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

  - None

#### Inherited Public Data

  - None

#### Inherited Protected Functions

  - None

#### Inherited Protected Data

  - None