Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Boxes
Message
De
19/05/1997 16:09:53
Holly Clawson
Travelcenters of America
Westlake, Ohio, États-Unis
 
 
À
19/05/1997 15:56:05
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00032834
Message ID:
00032846
Vues:
38
>>Help, I have a combo box, when selecting a control I hide the combo and display a text box. The text box is keeping whatever was contained in the combo. How do I clear this text box? I already do a refreash, and the text box does have the same control source as the combo box.
>>
>>Thank you
>>
>>
>>Holly Clawson
>
>Holly,
>
>Why are you doing that? It sound like odd screen behavior... If you define the combobox as a combobox instead of a listbox, you should be able to get the same effect as what you're programming. But, if I'm off the mark..
>
>Don't use a control source for one of them. Either build an array for your combo, or set the .Value for the textbox programmatically. You should be able to set .Value for the textbox without doing a refresh.
>
>HTH

Matt

I agree, the reason for this is I have not been able to figure out how to key new entries into a combo box that has a rowsourcetype of fields. When you say value my value, is already set to none. Do you mean the controlsource type set-up programmatically? I tried that and none of my fields refresh().

Thanx


Holly
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform