I am trying to show selected item in ListView on Windows XP with the attached code.
It works well on Vista and Mac OS X, but on Windows XP I have to comment out self.pnl2 line to show selected item.
What to do?
Mind you, that I need self.pnl2 for other things not included in the example.
I am trying to show selected item in ListView on Windows XP with the attached code.
It works well on Vista and Mac OS X, but on Windows XP I have to comment out self.pnl2 line to show selected item.
What to do?
Mind you, that I need self.pnl2 for other things not included in the example.
I'm confused. Are you wanting it to show the third item as selected when the program loads? Because it does on my Windows XP box, It's a light gray selection instead of the dark blue until I actually select the frame to bring it into focus.
I'm using XP SP3, Python 2.5.2 and wxPython 2.8.9.1. What are you using?
Funny. I have exactly the same configuration and it doesn't show on my monitor. I am starting to suspect the monitor - I'll have to check on other Win XP.
Thank for the reply,
B.
···
On 3.11.2008, at 15:57, Mike Driscoll wrote:
I'm confused. Are you wanting it to show the third item as selected when the program loads? Because it does on my Windows XP box, It's a light gray selection instead of the dark blue until I actually select the frame to bring it into focus.
I'm using XP SP3, Python 2.5.2 and wxPython 2.8.9.1. What are you using?
I am trying to show selected item in ListView on Windows XP with the attached code.
It works well on Vista and Mac OS X, but on Windows XP I have to comment out self.pnl2 line to show selected item.
What to do?
Mind you, that I need self.pnl2 for other things not included in the example.
What are you using pnl2 for? Was it intended to be the parent of the ListView?
Not that ListView.
The program is intented to be sort of a video player and in pnl2 I add a subtitle using TextCtrl.
In that case then you should add the panel to the sizer. The problem is probably related to the panel ending up overlapping the listctrl or something like that. Putting it in the sizer will make sure it is not overlapping anything else in the sizer.
···
On 4.11.2008, at 1:06, Robin Dunn wrote:
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!