Fórum Conceito básico #186791
07/10/2003
0
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
Curtir tópico
+ 0
Responder
Posts
07/10/2003
Motta
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]
Responder
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)