Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Questions Questions Questions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00037554
Message ID:
00037637
Vues:
24
> Hi ALL, can anyone help me with this questions ? I'm using VFP 3.0.
>
> - How can I do a search like in Help Window, when I type a "A", all topics
>(or names, or products...) with this initial appears in a box above - How
>can I do exactly Help Window ?
>
> - How can I do to select and use a EPSON LX-300 with "Generic Text" driver
>and a Ink-jet with your own driver conected in the same computer to print
>different docs from same VFP aplication?

Alano,
1. I'm assuming you aren't asking how to build a HELP file, but want to know how to type in a name and see the matching ones in your app. For the search, you'll need to check each character as you enter it, using the InteractiveChange event. Put code into the InteractiveChange event which searches your lookup table (probably with SEEK on an indexed field) and refreshes the list/grid/ popup that you're using to show the data. Both the INGRID and the QUICKFILL programs in the Files section will help you. Click on the File Cabinet, and the files are in the CLASSES section.

2. You can let the user choose the printer using GETPRINTER() when they call your print routines, or (if you know the name of the printer) you can simply tell the program which one to use. This only works when you can match the code to the user's hardware, but in your case it might be fine. I do this for a client which has one printer just for pre-printed forms. It's not a program which will be distributed out of the client's office.

HTH
Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform