Verificar se tem evento onkeypress
Como faço para veirificar se em um TCustomEdit tem algum comando no evendo onKeyPress
Sistemald
Curtidas 0
Respostas
Marcio.theis
20/08/2005
Você poderia explocar melhor o que deseja fazer ?
GOSTEI 0
Sistemald
20/08/2005
Veja o topico que eu postei, e continua se, resposta:
http://forum.clubedelphi.net/viewtopic.php?t=66842&highlight=
http://forum.clubedelphi.net/viewtopic.php?t=66842&highlight=
GOSTEI 0
Adriano Santos
20/08/2005
if Assigned(Edit1.onKeyPress) then ShowMessage(´Tem evento´) else ShowMessage(´Não tem evento´);
Mas vale lembrar que se tiver qualquer coisa no evento, inclusive cometário ele vai dar como algo digitado no evento.
GOSTEI 0