Hello all,
I have a problem with ListCtrl style=LC_VIRTUAL. Attach a sample demo.
You can recreate the hang in tree ways:
1.
- Run the program,
- pres TAB for navigation with keyboard to set the focus on hte ListCtrl
- Pres any key (except arrows an letter 'L').
If before the navigation you click on the ListCtrl none occurs, only if the first focus is set with TAB key.
2.
- Run the program
- Click on 'SetFocus' button to set the focus by code on ListCtrl
- Pres any key (except arrows an letter 'L').
3.
- Run the program
- Click on ListCtrl, pres keys, tab, etc .. (all OK)
- Click on 'Fill and SetFocus' button
- Pres any key (except arrows an letter 'L').
On all cases the ListCtrl enter in an infinite loop searchig the text that begin with the key pressed.
I don'n know if the hangs is because i forgot to set any propperty, neither know how to disable the automatic search when press a key.
It's a bug?
Thanks.
Test_ListCtrl.py (2.86 KB)
···
--
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************