Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - I am strill looking for an EDITABLE COMBO BOX?
Message
De
06/05/1997 11:56:55
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
06/05/1997 11:46:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00031003
Message ID:
00031012
Vues:
34
>>>Does anybody know where I can find an EDITABLE COMBO BOX? On the Knowledge Base, I got the article...
>>>HOW TO BUILD A CUSTOM COMBO BOX...
>>
>>
>>What is editable combo box ??
>
>I want to be able to add/edit/del members in a COMBO BOX that
>is setup tat way as a class. I have already done this using a GRID.
>
>thanks

for Adding in combo box, there is a article in microsoft kb, if you are not able to make that code run, there is one more method, which I used.

combo box rowsource type set it to array, in the valid event to combo box check through ascan function, whether the item, which was typed exists or not, If not add it in the array and run the requery method.

For deleting, also you can use the same approach but have to change somewhat, first of all have to decide, how you want to delete, I mean one method can be whatever user has typed, he presses a specific key say f10 and then same way you can search in the array and can remove it.


Regarding Editing, have to think, but same approach can be used. I hope this helps !!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform