[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 |
2185.0. "How the input focus works..." by EVOIS6::DAN_M (Maya DAN) Fri Feb 02 1990 05:49
One of my customer would like to have more explanations on input focus:
'I do not fully understand how the input focus work (at least for dialog
boxes) :
I have a popup modeless dialog box (ie with all the DW Window Manager
decorations) in which I have several keyboard accelerators. If I click
anywhere in this window execpt in the title bar, the input focus seems
given to it (the title bar has the active color), but if I use the
keyboard accelerators for by buttons, I got beeps. If I click on the
title bar to set the input focus on the dialog window, everything works
fine until I move the mouse away from this window, that is to have the
accelators work, I must click in the title bar and have the pointer in
the window (note that if it is outside, the system does not beep, but
keypresses are ignored). This happens with UWS 2.1 on a RISC machine.
In fact, I really want to have a modal dialog box which is supposed to
grab the focus when it is given to a client (this looks like the case,
because no other windows have an active title bar). But I am in the first
case above (ie clicking anywhere in the window) because using the
keyboard generates beeps. The problem is that I can not explicitly give
the focus to my dialog box, because there is no title bar.'
Could someone help me to answer to my customer please?
thank you very much
regards
M
T.R | Title | User | Personal Name | Date | Lines |
---|
2185.1 | | GOSOX::RYAN | DECwindows Mail | Fri Feb 02 1990 08:25 | 4 |
| Don't forget to install the acceleratos on all text widgets *and*
the dialog box widget.
Mike
|