![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#4
|
|||
|
|||
|
Hola megadigit, para saber quien tiene el foco existe una propiedad heredada de TWincontrol que es la funcion Focused.
Esto es de la ayuda de delphi: Determines whether the control has input focus. function Focused: Boolean; dynamic; Description Use the Focused method to see if the control is the active control. When Focused returns True, the control has the input focus. If Focused returns False, the user cannot interact with the control. la forma de usar es simple ej: button2.focused //devuelve true o false ahora el tratamiento del evento lo tenes que hacer en la form, poniendo la keypreview a true y en el onkeyup (si lo haces en algun otro evento anterior como en el onkeypress o keydown creeria q el foco todavia no se paso), fijate quien tiene el foco usando key=KV_TAB |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Como puedo hacer esto en fast report... | AFilth | Impresión | 6 | 15-02-2017 16:59:02 |
| Como puedo hacer esto | stynpy29 | Varios | 7 | 12-06-2010 13:06:02 |
| como hacer esto | gulder | JAVA | 1 | 15-02-2007 11:30:39 |
| como puedo hacer esto con mi FireBird 1.5 | ELINK | Firebird e Interbase | 6 | 13-04-2005 20:30:46 |
| Como puedo hacer esto ? | IVAND | Conexión con bases de datos | 1 | 21-07-2003 23:23:24 |
|