Retrieves a reference to the current component.
function GetCurrent: TComponent;
__fastcall TComponent * GetCurrent();
Before you ever call GetCurrent, you must call MoveNext, successfully, or an exception will be thrown.
MoveNext moves through the list of components within the parent component specified at class instantiation. GetCurrent returns a reference to the component currently referenced after the last MoveNext operation.
The Current property has the same effect as GetCurrent
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!