Ver Mensaje Individual
  #3  
Antiguo 23-07-2003
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 28
jachguate Va por buen camino
Si queres el "nombre" lo tenes aqui:

Código:
Var
  MiBoton : TButton;

Begin
  MiBoton := TButton.Create(self);
  MiBoton.Parent := Self;
  MiBoton.Caption := 'Hola!';
  ShowMessage('El nombre del botón es: ' + MiBoton.Name);
End;
Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita