Re: keep windows on top!

Phil Edwards <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
tjerk hoekstra wrote:
> *my application has 20 childwindows wich I create at startup and make 
> invisible, when I need them*
> *i change them to visible. OK it works but there are 2 issues...*
> *1) When the application starts you see flickering of all the windows 
> being created and then disappear,*
> *        rather ugly..Any suggestion?*

In the resource editor, click on 'Edit' then 'Background Info'. Make 
sure that the 'Visible on Startup' box is not ticked. All your child 
windows will be created as normal but will not appear until you make a 
call to something like myChildWindow.Show(). This ought to fix the 
flicering.

> *2) Lets say that from the Mainwindow I call a childwindow, and then 
> some widget in the childwindow calls a Dialog*
> *    when the Dialog is done with, the childwindow is hidden behind the 
> Mainwindow..is there any way to keep her op Top?*

Not sure about this one, I don't see this happening on my machine. Do 
you have some example code you can post here?


-- 

Regards

Phil Edwards
Brighton, UK

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.