Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox enabled
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00135172
Message ID:
00135207
Vues:
10
>Timothy,
>
>Another way. In the cbo When: return ! empty(this.parent.mytextboa1.Value)
>
>>If this can be solved. I have a combobox and a textbox and only one can be active at once. If the textbox has any input in it, the combobox should be dis-enabled so in the interactive exchange have:
>>if len(thisform.somectls1.mytextbox1.value)>0
>>thisform.somectls1.mycombobox2.enabled=.f.
>>else
>>thisform.somectls1.mycombobox2.enabled=.t.
>>endi
>>SO I test it by enter a little text in the txtbox and the combo becomes disabled like it's supposed to but when I backspace and remove the text from the said txtbox the combobox never becomes enabled.

Thanks!!
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform