[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
|
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
2970.0. "Have anybody get focus?" by ZUDEV1::CASAULTA () Thu Jun 21 1990 06:35
Dear Notes Users,
Finally I arrive to put my little problem, I couldn't solve until
now, in this note.
Some of our customers are developing a buisness application under
DECwindows and VAX/VMS V5.3 using the Xlib, Xtoolkit and DECwindows
Toolkit at the same time. It's there were we encountered some very
ennoying focus problems.
The szenario: from the main part of the application a popup dialog
box will be invoked which controls one or more simple text widgets.
The very first of these simple text widgets is sensitive in the
sense that, when you click the mid mouse button on it or when you
press a predefined function key on it at the moment this text widget
has input focus, a popup dialog box will appear controlling itself
a list box.
Selecting an item out of this list box, the list box and its parent
popup dialog box will disappear returning the input focus to the
previous popup dialog box controling all the simple text widgets.
Now, just there is our problem! We don't succeed in returning the
input focus to the very first simple text widget from where we've
called the "popup list box"!
Has anybody an idea how we could manage to return the input focus
from the disappearing "popup list box" to the very first simple text
widget? Or, how could we trace the input focus to see where we might
run into problems?
I would appreciate very much any clue given to my problem.
Thanks, Martin.
T.R | Title | User | Personal Name | Date | Lines |
---|
2970.1 | XtCallAcceptFocus for starters | TOOLEY::B_WACKER | | Thu Jun 21 1990 12:28 | 1 |
| Try XtCallAcceptFocus on the widget you want.
|
2970.2 | It isn't so simple as that! | ZUDEV1::CASAULTA | | Fri Jun 22 1990 10:42 | 14 |
|
We have already used the XtCallAcceptFocus routine! And too, it
works in the sense that when clicking within the first popup
dialog box the input focus will be returned to the widget we've
specified as parameter to the XtCallAcceptFocus.
The real problem is that the input focus is kept by the popup
dialog box (the associated title bar change to active) until you
change this state "manually".
Any further suggestions?
Martin.
|