On Saturday 19 July 2008 02:03:58 pm Paul McNett wrote: > johnf wrote: > > On Saturday 19 July 2008 09:02:40 am Paul McNett wrote: > >> If the parent of the dialog is on the other form, then that form could > >> come forward when the focus switches to the dialog. Which is why I asked > >> about the parent of the dialog... > > > > I haven't checked yet - but what you say makes sense. But I wonder why > > "form > > B" the calling form in this case would not be the parent. > > It isn't dependent on who is the "calling form", it is dependent on who > gets set as the parent object by sending the parent argument. So you could > have this code in FormB: > > dlg = dabo.ui.dDialog(formA) > dlg.show() > > Indeed, you could even have the parent not be a form: > > dlg = dabo.ui.dDialog(formA.lblFirstName) > dlg.show() > > Not that you'd want to do that, the point being that it isn't who creates > the dialog, but who is explicitly set as the parent... > > Normally, they'd be equal because you'd have: > > dlg = dabo.ui.dDialog(self) > dlg.show() > > Paul
I'm sorry I have not checked this out yet. Getting back from a vacation and need to fix a bunch of minor damages from wind and smoke. -- John Fabiani _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
