Hmmm, I don't know what happened, but I decided to ignore the issue and go on. I made some other unrelated mods and now all of a sudden it's working as it should. The only thing that I did was add another control and added an form.update() statement. Perhaps the update did it?
Thanks Larry > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of [email protected] > Sent: Thursday, December 10, 2009 9:56 AM > To: 'Dabo Users list' > Subject: Re: [dabo-users] Calling a dialog from another dialog > > No joy > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of Paul McNett > > Sent: Thursday, December 10, 2009 9:36 AM > > To: Dabo Users list > > Subject: Re: [dabo-users] Calling a dialog from another dialog > > > > [email protected] wrote: > > > I have a dialog that calls another dialog. Upon returning to the > > > original dialog from the second I have a little problem > in that the > > > first dialog's window is not activated and I have to click > > twice on a > > > control to get to perform an action. I have tried the > following in > > > the second dialog's return actions (button hit methods)... > > > > > > self.hide() > > > self.Parent.control.setFocus() > > > > > > self.hide() > > > dabo.ui.callAfter(self.Parent.control.setFocus) > > > > > > self.endModal(myokvalue) > > > self.Parent.control.setFocus() > > > > > > to no avail. > > > > > > Any suggestions as to what I am missing wrong? > > > > Try this from the calling dialog: > > > > self.child_dialog.showModal() > > self.Raise() > > > > Paul > > _______________________________________________ > > 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] > > > > _______________________________________________ > 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/!~!UENERkVCMDkAAQACAAAAAAAAAAA AAAAAABgAAAAAAAAAafA2fnYuPUOMNFpIYnBEQcKAAAAQAAAAyy2scZ5BvkajhPvasp3TbAEAAAA [email protected] > _______________________________________________ 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/!~!uenerkvcmdkaaqacaaaaaaaaaaaaaaaaabgaaaaaaaaaafa2fnyupuomnfpiynbeqckaaaaqaaaafkysab+gc0mhwmka9btxqweaa...@charter.net
