Newbie to wxPython here, so please be gentle:-)
I have been looking at architecture for "data entry" type applications,
which typically have forms with lots of wxTextCtrls, wxComboBoxes and so
forth.
What I have found is this:
If I put wxBoxSizers onto a wxFrame, and then put controls into slots in
the sizers I get no tabbing at all - even if I set the frame style to
include wxTAB_TRAVERSAL.
If I put multiple wxPanels into the wxFrame, then put sizers into the
panels, and controls into slots in the sizers I get tabbing between the
controls but only within each panel.
If I put a single wxPanel into a wxFrame, sizers into the wxPanel, and
controls into slots in the sizers, I get the desired behaviour; i.e. the
user can deal with each control, press tab to navigate to the next one
and so forth until the "form" is done, and they can click 'Save' or
whatever.
Question 1: I assume that is expected behaviour. Is that correct?
Question 2: If so, is the third layout mentioned above the normal way of
going about things?
As ever, thanks,
WH