develooper Front page | perl.wxperl.users | Postings from February 2013

RE: Modality and new windows

Thread Previous | Thread Next
From:
steveco.1959
Date:
February 14, 2013 10:37
Subject:
RE: Modality and new windows
Message ID:
8D244254EFB84BE2B9B2D7E3D2B2349B@SACWS001
Hi Dave,

> So if I have a dialog invoked with ShowModal() and an event comes along 
> that wants to create a new frame, how can I enable the new frame to 
> receive events?

I've never had a problem with this.  I have dialogues within dialogues
within dialogues, maybe seven or eight layers deep.  But I don't use frames
except for the main menu, maybe that is the difference.  If you do use
dialogues, it can get a little frustrating because of the issues around
tabbing.  I have a standard base module that creates a dialogue in my
preferred style (wxDialog + wxSizer + wxPanel so tabbing works, and other
reasons).  Then I derive from this for every dialogue I need.

My only complaint is over modal help which can get lost sometimes.

Good luck,

Steve.

PS I like your Mullah Nasrudin quotes, I had a book of them once, sadly long
since lost.



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About