lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Input-sequence editor testing


From: Vadim Zeitlin
Subject: Re: [lmi] Input-sequence editor testing
Date: Sun, 10 Jul 2011 14:44:25 +0200

On Sun, 10 Jul 2011 13:03:16 +0200 Václav Slavík <address@hidden> wrote:

VS> On 10 Jul 2011, at 01:39, Vadim Zeitlin wrote:
VS> > Yes, definitely, when it exists and is enabled. I'm almost sure that if
VS> > the default button doesn't exist, Enter should pass the focus to the next
VS> > control. The case when the default button does exist but is disabled is
VS> > less clear, I could try to find out if you're interested.
VS> 
VS> FWIW, I checked the behavior of Windows XP's Start->Run... dialog,
VS> Notepad's Edit->Replace and VS2008's Find&replace dialogs and none of
VS> them uses Enter to change focus, even with the default button disabled.
VS> You get the invalid-input beep instead when you press Enter.

 Thanks, I thought to test this in a small example MSW program but didn't
realize we already had examples of such dialogs in Windows itself.

VS> In other words, isn't this actually a wx defect that should be fixed?

 Yes, looks like it. I don't know/remember any more why was it decided to
make Enter behave like this, but it does seem like it was a mistake. I even
start wondering whether it should pass to the next control in the dialogs
without any default button. Probably not...

 Anyhow, I'll look at this and will fix it in wxMSW if it doesn't require
too much time/effort (but I don't think so) and if there are no objections
from Greg.

 Thanks,
VZ

reply via email to

[Prev in Thread] Current Thread [Next in Thread]