[dabo-users] call dialog from button onHit

Author: JpoorRandP@aol.com

Posted: 2009-08-07 at 16:49:06

Dabo folks:

I've gone through the dabo tutorials and constructed a few forms that

manipulate data in grids with parent-child relationships. Now I'd like to

attach some functions to buttons on the form. For example, if I have a parent

table with lots of entries, I'd like to add a "Find" button that lets the

user enter a key string, and then have the pointer moved to the matching

record before returning to the grid/form. I understand from some discussions

here that what I want to use is a dialog. I see how you can design a dialog

using the Class Designer.

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?

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

issues?

I have found the API listing on dabodev.com, but I find I need more help.

I realize that understanding Python will help, and I am working on a

number of Python tutorials ...

Thanks,

Jonathan Poor

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2009 JpoorRandP@aol.com