Unit 'ComCtrls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#lcl]

TToolBarEnumerator.Current

Current tool button instance for the enumerator.

Declaration

Source position: comctrls.pp line 2244

public property TToolBarEnumerator.Current : TToolButton
  read GetCurrent;

Description

Current is a read-only TToolButton property with the current tool button for the enumerator.

Call MoveNext to position the enumerator on the first tool button when the enumerator is created. Failure to do so before accessing Current will result in a run-time error.

See also

TToolBarEnumerator.Create

  

Constructor for the class instance.

TToolBarEnumerator.MoveNext

  

Moves to the internal position to the next button instance for the enumerator.

TToolBar.Buttons

  

Lists with the tool buttons on the tool bar.

TToolBar.ButtonCount

  

Number of Buttons defined for the tool bar control.

TToolButton

  

TToolButton is a button control used in a TToolBar object.



CT Web help

CodeTyphon Studio