On 1/31/07, Ed Leafe <ed /AT/ leafe .D.O.T com> wrote: > > On Jan 31, 2007, at 4:55 PM, wccppp wrote: > > > Thanks Ed. My question is specific to the code i posted. In this > > case, I do not know how to get the Form object from the > > ListBoxDialog object. > > I'm a little confused. Do you mean the dialog's window, or the > standard app window that appeared on your system that wasn't supposed > to be there? For the dialog the answer in my last email will work. > For the other 'ghost' form, it can be reference in code via > 'self.Application.MainForm', so the code would simply be: > > self.Application.MainForm.Caption = "Foo"
Ed, i meant the caption for the dialog, and now I know how to do it.
dlg = ListBoxDialog(lst=lst, idx=3) dlg.Caption = "Test Dabo Appilcation"
I didn't realize the dOkCancelDialog object has a "Caption" property. So it is a subclass of wx.Frame?
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
©2007 wccppp |