This fixed it, thanks!

Peter

On Sun, Apr 26, 2015 at 10:21 AM, Alain Plantec via Pharo-users <pharo-users@lists.pharo.org> wrote:


---------- Forwarded message ----------
From:��Alain Plantec <alain.plantec@yahoo.com>
To:��Any question about pharo is welcome <pharo-users@lists.pharo.org>
Cc:��
Date:��Sun, 26 Apr 2015 10:21:25 +0200
Subject:��Re: [Pharo-users] Rubric RubKeystroke

I���ve opened an issue��15407
try with��Rubric-AlainPlantec.188 which should fixe it (in Pharo/Rubric).
Cheers
Alain


On 25 Apr 2015, at 22:12, Peter Uhn��k <i.uhnak@gmail.com> wrote:

Hi,

is it possible to catch pressed key in RubTextFieldArea?

I tried

~~~~~~~~~~~~~~~~~~~
|fieldArea|
fieldArea := RubTextFieldArea new
takeKeyboardFocus.
fieldArea announcer when: RubKeystroke do: [ :rbEvent | rbEvent inspect ].

fieldArea openInWindow.
~~~~~~~~~~~~~~~~~~~~

but it doesn't seem to be fired. As I don't see any users of RubKeystroke I'm not sure what is the correct approach.

Thanks,
Peter