Thread View: comp.windows.interviews
1 messages
1 total messages
Started by Ronny Andre Nilsen
Fri, 22 Jan 1993 15:20
FieldEditor and events.
Author: Ronny Andre Nilsen
Date: Fri, 22 Jan 1993 15:20
Date: Fri, 22 Jan 1993 15:20
26 lines
1559 bytes
1559 bytes
Hi, I have an application that uses 3 FieldEditors's in the same window. By doing somthing like this (my class is a subclass of InputHandler ): remove_all_input_handlers(); append_input_handler(fedit1); append_input_handler(fedit2); append_input_handler(fedit3); it looks like everything is ok. The tab key moves the cursor between the fields, and mouse clicking also moves the cursor. The problem is that I can only write to the field that have the mouse cursor above it. What can I do to make all keyboard events go to the field editor that have the cursor, regardless of where the mouse cursor is in the window?? I would appreciate it if anybody could shed som light on this or give me a pointer to an example that does this. Ronny -- Disclaimer - These opiini^H^H damn! ^H^H ^Q ^[ .... :w :q :wq :wq! ^d X ^? exit X Q ^C ^? :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz ^[ZZZZZZ ^H man vi ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d man help ^C ^c help exit ?Quit ?q CtrlShftDel "Hey, what does this button d..."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads