Hi David,
A solution I got off the internet for that problem of the cursor not going
to the 1st field after hitting an "Add" button (produced by the wizards,
or me using Append Blank, or even in any examples from books that I have)
was to add the following code to an Add button:
ThisForm.Text1.SetFocus()
Well, it doesn't work and I'm not surprised because the SetFocus() (don't
laugh) didn't turn blue when I typed it. Having even searched the CD
and not found SetFocus(), I don't think this solution applies VFP 5.
Just out of curiosity, would the above worked VFP 3? What would be
the VFP equivalent. You know, in the Tasmanian Traders, when you want
to add something, the cursor _does_ go to the 1st field, but for the
life of me, I haven't figured out how it does it yet!!!! Other than
that, the damn thing is great!
Take Care
Abb
... I DID read the manual! That's why I'm confused!!
---
Blue Wave/DOS v2.30 [NR]
- JetMail v1.20 6 - Unregistered QWK Mail Door for Spitfire
--- SFScan v2.00
---------------
* Origin: (1:246/89.0)
|