Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a blank option to a combobox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00146606
Message ID:
00146660
Vues:
23
>Michelle,
>
>Here's one way to handle it. Make the rowsourcetype Array. In the Init of teh combo put this code;
>
>SELECT code, desc FROM codetable INTO ARRAY tmp ORDER BY code
>lnRow = ALEN(Tmp,1)+1
>DIMENSION Tmp(lnRow,ALEN(Tmp,2))
>Tmp(lnRow,1) = ""
>Tmp(lnRow,2) = "None"
>THIS.Sorted = .T.
>THIS.Requery()

That's a good idea, too. But I already got it working fine the other way, so i think I'll keep what I got.

Thanks,

-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform