Sorry, itâs been too long since I have been deep enough in that topic to be able to help you further. On Jun 30, 2014, at 12:56 PM, Pablo R. Digonzelli <pdigonzelli@gmail.com> wrote:
How can I know the widget has focus ? TIA
Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonzelli@softsargentina.com pdigonzelli@gmail.com Cel: 5493815982714
----- Mensaje original ----- De: "Johan Fabry" <jfabry@dcc.uchile.cl> Para: "Pharo is welcome" <pharo-users@lists.pharo.org> Enviados: Lunes, 30 de Junio 2014 13:42:26 Asunto: Re: [Pharo-users] caturing key pressed
I donât think there is a built-in way to do that. What you might do is register to keyboard events when one of these models gets the keyboard focus, and unregister when it loses focus. But I cannot give you any code for that, sorry.
On Jun 30, 2014, at 11:32 AM, Pablo R. Digonzelli <pdigonzelli@gmail.com> wrote:
Hi all , I need to capture the key pressed in a Spec TextModel and ListModel. Can someone give orientation?
TIA
Ing. Pablo Digonzelli Software Solutions IP-Solutiones SRL Metrotec SRL 25 de Mayo 521 Email: pdigonzelli@softsargentina.com pdigonzelli@gmail.com Cel: 5493815982714
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile
---> Save our in-boxes! http://emailcharter.org <--- Johan Fabry - http://pleiad.cl/~jfabry PLEIAD lab - Computer Science Department (DCC) - University of Chile