Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display combo with no selection
Message
De
28/06/2005 09:45:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01026750
Message ID:
01027009
Vues:
14
>>Ooops. This is not a reproducing code for me. I don't want to create all those tables/fields.
>>However a quick try:
>> thisform.combo1.controlsource = ''
>> thisform.combo1.ListIndex = 0
>>
>>Cetin
>
>Cetin,
>
>You don't have to use the same tables. Create a simple table with two fields: cUserID and cEmpName. Put some data and put 4 records with empty cUserID, but not empty cEmpName.
>
>Anyway, let me try your idea first.
>
>Setting controlsource to nothing seems to fix the problem. Is where a way to reset combo to blank value once something was selected? (If there are not empty cEmpName in the list)? Ctrl+0 doesn't do it.
>
>Thanks again.

Both Ctrl+0 and ListIndex=0 works for me to reset (maybe you tried Ctrl+letterO, Ctrl+Zero should it be).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform