Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Quick Fill Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00507390
Message ID:
00507407
Vues:
8
ALSO:
Be certain your form's KeyPreview property is set to .F., otherwise the form will receive the keystroke before the control, and you might not get the behavior you're looking for.


>Hi Lamar,
>
>> Is this normal FoxPro behavior
>Yes.
>
>> Is there any way to override it?
>Yes. Place some code in the KeyPress event of the desired object that looks for the down arrow and performs the functionality you prefer. I have a sample of some similar code in my archives at the home office -- e-mail me directly if you need this.
>
>CAVEAT: If you implement this behavior, then to exit the object, your users will have to press TAB to move forward, SHIFT-TAB to move backward, or use the mouse to click on another field.
>
>
>>We have a class that allows the user to begin typing a value(inventory item value) and as they type it fills in the object similar to Quicken's quickfill. We have been using the '-' and '+' keys to allow backward and forward navigation once the user gets close to the desired item. In a sister company some items were added which unfortunately included '-' as part of the code. Of course when the user tries to enter this keystroke they are positioned on the item previous to the last item. We were going to set up the down arrow as a substitute for this behavior. However, instead of going back one item the user is sent to the previous object.
>>
>>Is this normal FoxPro behavior and is there any way to override it.
>>
>>Thanks.
>>
>>VFP/W 5.0
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN

If a vegetarian eats vegetables, what does a humanitarian eat?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform