Ver Mensaje Individual
  #2  
Antiguo 17-06-2010
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 18.289
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Hola.
La primera pregunta que me viene a la mente es, ¿has revisado los ejemplos que vienen con el componente?

Basta con que "sueltes" el componente en el formulario y lo actives.
Código Delphi [-]
Active := True;

Ya sea por código o desde el IDE.

Si lo activas verás que la propiedad ObJectsCount vale 1. Significa que sólo ha encontrado un elemento de esas clase.

Para consultar las propiedades basta con acceder de esta forma:
Código Delphi [-]
  label1.Caption := ComputerSystemInfo1.ComputerSystemProperties.Caption;
  label1.Caption := ComputerSystemInfo1.ComputerSystemProperties.Description;
  label1.Caption := ComputerSystemInfo1.ComputerSystemProperties.Name;
  label1.Caption := ComputerSystemInfo1.ComputerSystemProperties.UserName;
  label1.Caption := ComputerSystemInfo1.ComputerSystemProperties.SystemType;
  i := ComputerSystemInfo1.ComputerSystemProperties.NumberOfLogicalProcessors;
  i := ComputerSystemInfo1.ComputerSystemProperties.NumberOfProcessors;
  i := ComputerSystemInfo1.ComputerSystemProperties.PCSystemType;
  ...

La Refencia de la clase y de las propiedades, tal y como aparece en la propiedad MSDNHelp del componente, la tienes en esta dirección.
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita