[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
Re: [XaraXtreme-dev] Galleries and focus handling
- From: Luke Hart <lukeh@xxxxxxxx>
- Date: Thu, 04 May 2006 16:46:54 +0100
- Subject: Re: [XaraXtreme-dev] Galleries and focus handling
Phil Martin wrote:
*5. Release focus when done*
A modeless control or dialog should release focus when it has done its
immediate job - it must not hold focus assuming the user will want to
use that window again.
Example: When the colour editor is dragged by its title bar, it is
given input focus but if it's not going to use that focus it should
hand it back to the previous owner.
The control or dialog can decide what its "immediate job" is.
Example: An edit control would retain focus until the user presses
Return to indicate that he has finished typing.
Do you mean previous owner, or (in the case of XareaLX) the canvas? In
the case of editting width and height, first edit the width and then
change focus to the height and then hit return to commit it. Following
your rules that would take you back to the width edit. I think putting
the focus back to the canvas (as we do now) would provide the fewest