[BLACKBOX] Cursor re-focus

From: Douglas G. Danforth <"Douglas>
Date: Mon, 22 Feb 2010 19:20:58 -0800

Folks,

Question: How do I maintain the focus into a document when I
use a Tool accessing the document?

Here is my problem.
I have a form that I use to insert nonstandard characters (glyphs) into a document
by pushing one of many buttons. Before the button is pushed the cursor in the
document is shown and blinking. After the button is pushed (and the glyph
correctly inserted) the cursor is now longer blinking but is static and faded
indicating the focus is elsewhere.

Even though the pushing of the button shifts the focus from the document to the
form, the "forward message" I use seems to know where to put the glyph.
(*
            msg.char := Controls.par.label[0];
            msg.op := Controllers.pasteChar;
            Controllers.Forward(msg)
*)

How can I shift the focus back to the document after the button has done its job
without re-clicking in the document?

Here is what it looks like before a button is pushed

 

after the sigma button is pushed
 

-Doug Danforth



---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy





moz-screenshot-97.jpg
(image/jpeg attachment: moz-screenshot-97.jpg)

moz-screenshot-96.jpg
(image/jpeg attachment: moz-screenshot-96.jpg)

Received on Tue Feb 23 2010 - 04:20:58 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:34 UTC