Skip to content

TComponentEnumerator.GetCurrent

Return the current pointer in the list

Declaration

Source position: classesh.inc line 2035

public 
  function GetCurrent : TComponent;

Description

GetCurrent returns the current TComponent child component instance in the enumerator.

Errors

No checking is done on the validity of the current position.

See also

Name Description
TComponent.Components Indexed list (zero-based) of all owned components.
MoveNext Move the position of the enumerator to the next position in the children of the component.