Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box Question
Message
 
 
À
04/12/2008 09:52:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01365396
Message ID:
01384131
Vues:
48
Hi Dorris,

What is the solution for the problem you picked up? I need exactly the same thing right now and empty(DisplayValue) is not an answer (the one I suggested to you).


>Rich
>
>That's what I ended up going with, but things like this have always been an issue with me and combo boxes. With all the properties that mean ALMOST the same thing - why isn't there an easy way to do the equivalent of a SEEK in a table or an ASCAN with an array?
>
>
>
>>
>>Is this what you're looking for???
>>FUNCTION searchcombo
>>LPARAMETERS tcValue
>>
>>WITH myCombo
>>     FOR I = 1 TO .listcount
>>	IF .List[i] = tcValue
>>	    RETURN I
>>	ENDIF
>>    ENDFOR
>>ENDWITH
>>RETURN 0  && Not Found
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform