Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Filled Combo
Message
De
22/11/1999 12:04:39
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
 
À
22/11/1999 11:59:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00293857
Message ID:
00293954
Vues:
31
Well, here's the code in my valid event of the combo:

WITH This
IF This.ListIndex = 0 AND !EMPTY( This.DisplayValue )
*** The user typed in an entry not in the list
*** code here to add the new entry to the combo's RowSource
This.AddItem( This.DisplayValue )
This.Requery()
This.Refresh()
ENDIF
ENDWITH

The problem actually is that the choices aren't staying permanently. When I exit the form and run again, all choices are gone. After I fix that, then I'll address the removal problem.


>Did you enter them in the Properties sheet, or populate the combo programatically?
>
>>OK, here's a dumb question. Once I have it working , how do I remove the test values?
>>x
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform