Tema: Consulta
Ver Mensaje Individual
  #11  
Antiguo 02-03-2012
Avatar de escafandra
[escafandra] escafandra is offline
Miembro Premium
 
Registrado: nov 2007
Posts: 2.197
Reputación: 20
escafandra Tiene un aura espectacularescafandra Tiene un aura espectacular
..
Cita:
Empezado por Ayude de Builder
TComponent::ComponentCount

ndicates the number of components owned by the component.

__property int ComponentCount = {read=GetComponentCount, nodefault};

Description

Use ComponentCount to find or verify the number of components owned by a component, or when iterating through the Components list to perform some action on all owned components. ComponentCount is used internally for such iterative procedures.

Note: The ComponentCount of a component contains the same number of items as in the Components list for that component.

Cita:
Empezado por Ayuda de Builder
TComponent::FindComponent

Indicates whether a given component is owned by the component.

TComponent* __fastcall FindComponent(const AnsiString AName);

Description

FindComponent returns the component in the Components property array with the name that matches the string in the AName parameter. Use FindComponent to determine whether a given component is owned by another.

FindComponent is not case sensitive.
Saludos.
Responder Con Cita