Re: [dabo-users] call dialog from button onHit

Author: Paul McNett

Posted: 2009-08-07 at 17:42:16

JpoorRandP@aol.com wrote:

> But how do I call such a dialog from the Find button onHit method and have

> the dialog return the value provided by the user?

def onHit_button1(self, evt):

dlg = MyDialog(self)

dlg.showModal()

ret_value = dlg.lookup.Value

dlg.release()

print ret_value

> General question: Is there a place that discusses these sorts of "how to"

> issues?

Have you seen the wiki? http://wiki.dabodev.com

Other than that, you found it here on the users list.

Paul

©2009 Paul McNett