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

Author: JpoorRandP@aol.com

Posted: 2009-08-08 at 12:31:45

In a message dated 8/7/2009 6:13:24 P.M. Eastern Daylight Time,

ed@leafe.com writes:

Just in case you didn't know: incremental search is built into the

grid: click on any column and start typing. The grid will

automatically move to the first matching record.

Even if that isn't the exact interface you need, you can look at the

code for the 'runIncSearch' method of dGrid.py: it might coding your

custom search easier.

-- Ed Leafe

I did notice the incremental searching. I found dGrid.py in the

dabo\ui\uiwx directory, and will take a look, thanks. We may well decide that we

don't need a find button for some applications.

What I'm really after is how to piece together an application. We're

longtime VFP programmers, and what I'm trying to figure out is very basic: how

to call one form from another, using your Class Designer. In VFP, the click

method of a button will call another form with "do form FindRun" and then

the FindRun form can process user input and move the pointer in a cursor or

table that's in a grid on the calling form. The find function is just an

example, the approach would be the same for other functions, such as buttons

for "Export Results" or "Revise Status"

Jonathan Poor

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

multipart/alternative

text/plain (text body -- kept)

text/html

---

©2009 JpoorRandP@aol.com