[Top][All Lists]

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

Fwd: Re: [Gnumed-devel] Key events

From: Horst Herb
Subject: Fwd: Re: [Gnumed-devel] Key events
Date: Wed, 3 Jul 2002 22:02:48 +1000

> I cannot find how to set tab order in wxWindows/wxPython. As Richard
> knows, this is readily adjusted under Visual Basic and is an essential
> feature of proper GUI performance. :-(

Easy enough. Just hook into the appropriate event (in this case, "focus 
lost" as you don't only want to catch tab events but also Enter and cursor 
keys I assume), and in the event handling function you call SetFocus() for 
the next widget you want to process. If you really want to catch only the 
tabs,just hook into EVT_CHAR and test for tab. A "tab sequence lookup 
table" can simpliy the code enourmously, reducing the work to a single 


Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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