Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box/interface opinions
Message
De
05/05/1998 12:49:20
 
 
À
05/05/1998 12:47:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00097067
Message ID:
00097078
Vues:
21
>>>Hi all!
>>> I'm still making the transition from dos, and there is something that continues to bug me. When writing a customer lookup for Dos, it was very easy to show a get, then if the user entered a valid customer skip to the next get, if the user enter an invalid customer, display a browse and get as close to what the user put in as possible, letting them pick from the list or add a new customer. From what I have seen, the combo box took the place of this. My customers, however, wish to be able to enter the entire customer code (or name), if they know it, without being bothered with the combo box control. Perhaps I am missing something, but I have not been able to make the combobox behave this way. Could someone give me some pointers or perhaps tell me how they handle this in VFP? TIA
>>
>>drop down combobox do this. You can issue a seek command in the valid method to be sure the customer exists in table.
>
>that is the direction I am headed, but after the test fails for the customer being in the table, what would i need to do to tell the combo box to open and move as close as possible to what they entered?

you can seek the value entered with set near on, then store the nearest value of the table in the value propertie of the combobox, and then open it.
Saludos,
A.G.P.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform