[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]
