lmi
[Top][All Lists]
Advanced

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

Re: [lmi] Input-sequence editor testing


From: Greg Chicares
Subject: Re: [lmi] Input-sequence editor testing
Date: Sun, 10 Jul 2011 21:16:57 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 2011-07-09 23:39Z, Vadim Zeitlin wrote:
> On Sat, 09 Jul 2011 23:27:40 +0000 Greg Chicares <address@hidden> wrote:
> 
> GC> For example, [on the "Payments"]
> GC> notebook tab type '-1' in "Dumpin"; now focus is locked in that field,
> GC> and neither Enter, Tab, nor clicking elsewhere will move the focus (but
> GC> Cancel remains enabled).
> 
>  Did you also use wxTE_PROCESS_TAB to force this?

No.

> Because AFAIK it's the
> only way to prevent TAB from working.

Trompe-l'œil. MvcController::UponChildFocus() doesn't prevent Tab (etc.)
from working; instead, it detects when it *has* worked, and negates the
effect by switching focus back faster than the eye can see.

Now there's an anomaly here: MvcController::UponChildFocus() doesn't
disable "OK", but InputSequenceEditor::update_diagnostics() does. I'd
say the latter behavior is better: it should be disabled. I'm not going
to try changing class MvcController at this moment, though.



reply via email to

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