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
Iâve opened an issue 15407 <https://pharo.fogbugz.com/default.asp?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
participants (2)
-
Alain Plantec -
Peter Uhnák