Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Other uses of intellisense (not for VFP completion synta
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01566421
Message ID:
01566422
Views:
63
>In an application to keep homeopathical medical records, I must create a tool to make this job fast and easy.
>
>I wonder if it´s possible to create dictionary of homeopathic medical jargon and intellisense to autocomplete this expressions.
>
>Similar to VFP jargon, homeopathical argot has a tree structure reproductible by intellisense.
>
>Thanks,

I did the same thing with medical jargon - but I don't know if the way I did it will help you or not.
First I created a table with all the words/codes in it.
Then on the screens, I put some code in the textboxes. Once a user had entered 3 characters then a grid would appear right below the textbox - and as the user kept typing the list on the grid would get smaller. If the user hit TAB then it would select whatever items was selected in the grid. Using the up and down arrows let the user navigate though the grid. The textbox had some code in the interactivechange() or keypress() methods, and with each character that was entered a remote view would run that had something like SELECT myField from myTable where left(myfield, mynumberofchars) = myTextBoxValue to populate/re-populate the grid.

It works really great. This is something that I should probably put in the downloads section sometime because I made a really nice classlib for it.
ICQ 10556 (ya), 254117
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform