Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display combo with no selection
Message
De
28/06/2005 06:36:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/06/2005 06:10:17
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:
01026960
Vues:
23
>The method is called from the Init. Setting ListIndex to 0 doesn't work.
>
>Then it must be something in the framework because, as I said before, testing with a base class combo and a base class form, setting the listIndex to zero worked just fine.
>
>The problem with setting the combo's value to something that is not in the list may allow you to save invalid data if the combo is a bound control.

Absolutely agree. A dangerous way to remove selection.
Listindex=0 has always worked for me. Alternatively she could set value to .null. or key in Ctrl+0.
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