Conceito básico
Pessoal,
Gostaria de saber qual a diferença entre estes dois comandos:
por exemplo com o ´btnSalvar´
btnSalvar.Click();
btnSalvarClick(btnSalvar);
Valeu!
Lucas!
Gostaria de saber qual a diferença entre estes dois comandos:
por exemplo com o ´btnSalvar´
btnSalvar.Click();
btnSalvarClick(btnSalvar);
Valeu!
Lucas!
Lucas Silva
Curtidas 0
Respostas
Motta
07/10/2003
procedure Click; override;
Description
Calling Click assigns the value of the button’s ModalResult property to the ModalResult property of its parent form, and then generates an OnClick event.
TControl.OnClick
Occurs when the user clicks the control.
ou seja no btnSalvar.Click(); ela passa o modalresult de seu form...
[b:989e569f29]esta eu não sabia .....[/b:989e569f29]
Description
Calling Click assigns the value of the button’s ModalResult property to the ModalResult property of its parent form, and then generates an OnClick event.
TControl.OnClick
Occurs when the user clicks the control.
ou seja no btnSalvar.Click(); ela passa o modalresult de seu form...
[b:989e569f29]esta eu não sabia .....[/b:989e569f29]
GOSTEI 0