From: Liam C. <cy...@gm...> - 2005-06-08 06:20:10
|
Hey man, At the end of your method which calls the dialog box i.e.=20 def foo(self, event): <some stuff> <dialog is called> <Dialog has finished, now call...> self.Raise() Try it, it may flicker, however. On 6/8/05, kim...@ya... <kim...@ya...= >=20 wrote: >=20 > Hello list, >=20 > I am writing an app involving child-window. When the > child window invokes a dialogbox, it switches focus to > the main windows first, before poping up. Of course, > when it closes, the child-window becomes underneath > the main window. >=20 > Is there a parameter I am suppose to set or something > in order to maintain the proper z-order? >=20 > Thanks, >=20 > -- > John >=20 >=20 > ------------------------------------------------------- > This SF.Net <http://SF.Net> email is sponsored by: NEC IT Guy Games. How= =20 > far can you shotput > a projector? How fast can you ride your desk chair down the office luge= =20 > track? > If you want to score the big prize, get to know the little guy. > Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=3D20 > _______________________________________________ > Pythoncard-users mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/pythoncard-users >=20 --=20 'There is only one basic human right, and that is to do as you damn well=20 please. And with it comes the only basic human duty, to take the consequences.' |