PopupTransientWindow not working correctly

Hi,

I have tried creating a PopupTransientWindow with a SpinCtrl in it. However, I
am not able to modify the value int the control by typing in it but the spin
button works. Also tried an IntCtrl but also not able to type in it. What might
I be doing wrong?

simon kagwe wrote:

Hi,

I have tried creating a PopupTransientWindow with a SpinCtrl in it. However, I
am not able to modify the value int the control by typing in it but the spin
button works. Also tried an IntCtrl but also not able to type in it. What might
I be doing wrong?

Platform and version?

PopupTransientWindow has problems with allowing child widgets to get the keyboard focus. IIRC I think you'll need to put event handlers in the PopupTransientWindow and manipulate the widgets yourself. To double check this you can use wx.Window.FindFocus() to see which window has the focus.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn <robin <at> alldunn.com> writes:

Platform and version?

I am using wxPython 2.8 on Windows XP. Python version is 2.4.
I'll try to create my own event handlers and see how it goes.

Thank you.