Sign in Join
FPDoc Onlineexperiment

TWinControlEnumerator class

In unit Controls

Implements an enumerator for TWinControl instances.

Declaration

pascal
TWinControlEnumerator = class

Description

TWinControlEnumerator is a class used to implement an enumerator for TWinControl class instances. TWinControlEnumerator provides support the enumerator interface through its GetCurrent and MoveNext methods.

TWinControlEnumerator is the type returned by the GetEnumeratorControls and GetEnumeratorControlsReverse functions in TWinControl.

See also

Properties

CurrentpublicContains the TControl instance which is the current value in the enumerator.

Methods

GetCurrentprotectedGets the current enumerator value.
CreatepublicConstructor for the class instance.
GetEnumeratorpublicReturns the enumerator in the class instance (Self).
MoveNextpublicMoves to the next value using the ordering in effect for the enumerator.

Fields

FIndexprotectedMember with the current position for the enumerator.
FLowToHighprotectedMember which indicates the order for the enumerator.
FParentprotectedMember with the Parent for the enumerated values.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.