[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements an enumerator for TWinControl instances.
Source position: controls.pp line 1994
type TWinControlEnumerator = class |
||
protected |
||
FIndex: Integer; |
|
Member with the current position for the enumerator. |
FLowToHigh: Boolean; |
|
Member which indicates the order for the enumerator. |
|
Member with the Parent for the enumerated values. |
|
function GetCurrent; |
|
Gets the current enumerator value. |
public |
||
constructor Create(); |
|
Constructor for the class instance. |
function GetEnumerator; |
|
Gets the enumerator for the class. |
function MoveNext; |
|
Moves to the next value using the ordering in effect for the enumerator. |
|
Gets the current value for the enumerator. |
|
end; |
|
Implements an enumerator for TWinControl instances. |
|
| | ||
TObject |
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.
|
Gets the current value for the enumerator. |
|
|
Moves to the next value using the ordering in effect for the enumerator. |
|
|
Gets an enumerator for the Controls property. |
|
|
Gets a reverse-order enumerator for the Controls property. |