[wxpython-users] widget always on top
by Markandeya other posts by this author
May 30 2009 5:13AM messages near this date
[wxpython-users] Re: Testing events, I'm missing the gist (Rohan)
|
Re: [wxpython-users] widget always on top
Hi All,
I am making a textCtrl with a BitmapButton on top of it to the right with a
bitmap of a dropdown arrow. Thus it looks like a combobox. How to keep the
BitmapButton always on top. The textCtrl is in a slot on a sizer that is on
a panel. I read about a frame flag can be set to ontop of parent, or a
dialog box can be set to ontop. So maybe i can put the BitmapButton on one
of these and float it on top of its parent. What's the best way, or the
ways, to keep the button or any widget on top of other widgets? Same would
apply for a listCtrl that is hidden then shown and has to stay ontop of the
existing showing widgets.
Another possible solution to my problem would be to put the BitmapButton
not over but next to, on the right side of, the textCtrl. This is ok but i
don't know how to make it look like it is in a border same as the textCtrl.
The dropdown button of a combobox is actually inside the text part's border.
I can have the textCtrl and BitmapButton as separate widgets but they must
look like they share the same beveled border.
Many thanks for your ideas and help, Markandeya
Thread:
Markandeya
Robin Dunn
|