Problem enabling a single widget in a panel after disabling panel

This is not a surprise. If a container is disabled, none of the controls in that container will be able to receive the focus.

You need to loop through the list of controls and disable/enable them individually. Leave the panel enabled.

···

On Thu, 17 Mar 2005 02:49:25 -0500, Count Down <lifton.liftoff@gmail.com> wrote:

I'm running Python 2.4.1 with wxPython 2.5.4.1 on Windows XP. I have
a bunch of widgets in a panel. I want all but one of them to be
disabled, so I call the panel's disable method followed immediately by
the widget I want enabled's enable method. The panel looks fine;
i.e., all but one widget is greyed out. However, the widget that is
supposedly enabled (in this case a button or choice) is completely
unresponsive and behaves as if it is disabled. Any suggestions?

--
- Tim Roberts, timr@probo.com
  Providenza & Boekelheide, Inc.