[vwnc] VW 7.6 keyboard hook?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[vwnc] VW 7.6 keyboard hook?

Mike Bielser
Hi
I'm trying to create a keyboard hook, but somehow I haven't figured it out because it does not work.
I have a Grid containing InputFieldViews that need to do some special processing. I need a keyboard
hook on the InputFieldViews (because otherwise GridController will get the keyboard event; that will
not work in my case). I tried this in GridColumn

postBuildCell: aGridVisualCell with: aUIBuilder
        | widget c |

        widget := aGridVisualCell component widget.
        c := CustomInputBoxController new.
        c keyboardProcessor: widget controller keyboardProcessor.
        c menuHolder: CustomInputBoxController cellContextMenu asValue.
        c performer: c.
        c keyboardHook: c hookItUp.
        widget controller: c.

The block required for the keyboard hook is in the method hookItUp. So somewhere there's a
problem... Can someone please provide hints regarding keyboard hooks?

TIA
Mike

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] VW 7.6 keyboard hook?

Mike Bielser
I finally figured out what's going wrong: my keyboard hook gets overridden by one installed through
GridColumn. It's buried deep in the code, at least deep enough to make debugging at 3 am tricky ;)

Mike

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: [vwnc] VW 7.6 keyboard hook?

Terry Raymond
Keyboard hook sucks!!

I would hope that Cincom has put it on its list of one of
the GUI things that needs fixing.

Terry
 
===========================================================
Terry Raymond
Crafted Smalltalk
80 Lazywood Ln.
Tiverton, RI  02878
(401) 624-4517      [hidden email]
<http://www.craftedsmalltalk.com>
===========================================================

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Mike Bielser
> Sent: Thursday, October 09, 2008 4:24 AM
> To: [hidden email]
> Subject: Re: [vwnc] VW 7.6 keyboard hook?
>
> I finally figured out what's going wrong: my keyboard hook gets overridden by one installed through
> GridColumn. It's buried deep in the code, at least deep enough to make debugging at 3 am tricky ;)
>
> Mike
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc