Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making pick list with a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Making pick list with a grid
Miscellaneous
Thread ID:
00019829
Message ID:
00019829
Views:
75
Hi,
many screens in my app require looking up data. I have
a Find button that spawns another form. On the Lookup
form, I'd like to put in some partial data. The form should have a Textbox, a Grid, and an OK button. If I want "Roosevelt", I'd type "Roos" in the textbox and click OK. The grid would respond with all records starting with "Roos" (there may be dozens). I would scroll to the record I want and double-click on it.
The double-clicking would leave the table's record pointer on that record and release the Lookup form.
The Find button would then refresh the original form.

1) How do I make sure the OK button is the second object
after the textbox?

2) How can a double-click event in a column set the record pointer and release the whole form (not just the grid).

3) How do I build the grid so it behaves like the old
BROWSE ... KEY in Fox 2.6?

Thanks
John Morga
jmorga@spec.net
John Morga
Sr. Manager Information Systems
Applications Development Group
Systems Engineer
Telephonics Corporation
http://www.telephonics.com
Next
Reply
Map
View

Click here to load this message in the networking platform