On 10/2/12 12:47 PM, Udgam Mehetre wrote:
> Hello everyone!
>
> The problem I m having, I m not sure if its related to python, wxpython,
> mysqldb or just me..
> Here is what happens:
> I open the welcome screen of my project, which opens a login page, which
> again opens a homepage..
>
> On login page , i have a button event to open the welcome page again..
>
> The respective linking works fine when I start from welcome page..
> However, if I start from between, i.e login page, then my program just
> refuses to open the welcome page..
>
> The same thing happens for other files as well, i.e the previous
> programs are not opened if I run a program after it
> Note that this before-after sequence is what I have set...
Rather than making them all be standalone applications, you should
instead have just one wx.App instance for the whole program and simply
create and show the frames or dialogs as appropriate when they are needed.
--
Robin Dunn
Software Craftsman
http://wxPython.org