Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing Combobox in VFP 6.0
Message
De
05/03/1999 04:06:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Refreshing Combobox in VFP 6.0
Divers
Thread ID:
00194348
Message ID:
00194348
Vues:
56
If I change the contents of an array that is the RowSource to an Combobox, I get blank lines in the Combobox if the new contents contains less lines than the previous contents.

Init:
PUBLIC aData[1]
SELECT Field FROM Table INTO ARRAY aData && Select 10 records


Change data:
RELEASE aData
PUBLIC adata[1]
SELECT Field FROM table WHERE Key = nKey INTO ARRAY aData && Select 5 records

Now the Combobox contains 5 blank lines..... WHY ????
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform