In a vi, the user clicks in a numerical control and enters a number. He forgets to hit Enter or click away, so key focus is still on the control and the value is not available at the terminal yet. Now the user exits the vi via a menu selection, thinking he has properly entered the value. How do I get the new value of the control that the user thinks he entered but didn't update?

I can programmatically pull key focus off the control, and then read it again through a local variable, but what a nuisance. I am sure there must be a better way to protect against this error.

David
--
David Ferster
Actimetrics, Inc.
1621 Elmwood Ave., Wilmette, IL 60091
http://www.actimetrics.com
847/922-2643 Phone
847/589-8103 FAX







Reply via email to