ComboCtrl: Can not focus text controls in popup panel

Hello list,

I am trying to have a custom combo control which has a panel with a
small dialog as the popup. This is for configuring the filter in a grid
(so the combo control is used as the cell editor there). But my problem
shows already without a grid.

Somehow, the text controls in the panels in the popup can not be focused
by clicking on them. In the example, even passing --use-alt-popup does
not make any difference. (I am using Ubuntu LTS 10.04 amd64 with the GTK
backend of wx).

Do you know of any way to get this working? I am using 2.8.11.0 at this
time, perhaps this is fixed in 2.8.12?

Any help appreciated,

Torsten

combo_focus.py (1.44 KB)

···

--
DYNAmore Gesellschaft fuer Ingenieurdienstleistungen mbH
Torsten Landschoff

Office Dresden
Tel: +49-(0)351-4519587
Fax: +49-(0)351-4519561

mailto:torsten.landschoff@dynamore.de
http://www.dynamore.de

Registration court: Mannheim, HRB: 109659, based in Karlsruhe,
Managing director: Prof. Dr. K. Schweizerhof, Dipl.-Math. U. Franz

change line 18
combo.UseAltPopupWindow(True)

then it works for me (on windows though)

···

On Jun 23, 4:21 am, Torsten Landschoff <torsten.landsch...@dynamore.de> wrote:

Hello list,

I am trying to have a custom combo control which has a panel with a
small dialog as the popup. This is for configuring the filter in a grid
(so the combo control is used as the cell editor there). But my problem
shows already without a grid.

Somehow, the text controls in the panels in the popup can not be focused
by clicking on them. In the example, even passing --use-alt-popup does
not make any difference. (I am using Ubuntu LTS 10.04 amd64 with the GTK
backend of wx).

Do you know of any way to get this working? I am using 2.8.11.0 at this
time, perhaps this is fixed in 2.8.12?

Any help appreciated,

Torsten

--
DYNAmore Gesellschaft fuer Ingenieurdienstleistungen mbH
Torsten Landschoff

Office Dresden
Tel: +49-(0)351-4519587
Fax: +49-(0)351-4519561

mailto:torsten.landsch...@dynamore.dehttp://www.dynamore.de

Registration court: Mannheim, HRB: 109659, based in Karlsruhe,
Managing director: Prof. Dr. K. Schweizerhof, Dipl.-Math. U. Franz

combo_focus.py
1KViewDownload