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