🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #1559

FieldEditor and events.

#1559
From: Ronny Andre Nilsen
Date: Fri, 22 Jan 1993 15:20
26 lines
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..."
Technical Details
Message-ID: <RONNY.93Jan22162044@drott.ifi.uio.no>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!ronny

Show Full Headers
Complete Article Headers
Nntp-Posting-Host: drott.ifi.uio.no
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!aun.uninett.no!nuug!ifi.uio.no!ronny
From: ronny@ifi.uio.no (Ronny Andre Nilsen)
Subject: FieldEditor and events.
Message-ID: <RONNY.93Jan22162044@drott.ifi.uio.no>
Sender: ronny@ifi.uio.no (Ronny Andre Nilsen)
Organization: Dpt. of Informatics, University of Oslo, Norway
Date: Fri, 22 Jan 1993 15:20:43 GMT
Lines: 26
Originator: ronny@drott.ifi.uio.no