Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box display and access
Message
De
15/01/2004 18:49:14
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00867328
Message ID:
00867329
Vues:
13
Hi Brad!

>I access a customer record and display it on a form I designed. All the fields
>are darkened and unaccessible until I click on edit and then they all brighten and are able to be edited. This is the way I want it. But I added a combo
>box to this screen and it is editable even before I select the edit button.
>
>How can I make this box behave the same as a regular text box.
>
>Thanks in advance.,

Try to use the Enabled property, thus:
thisForm.myCombo.Enabled = .F.   && unaccessible -> Put this when don't 
                                 && right to edit.
thisForm.myCombo.Enabled = .T.   && accessible -> Put it in your Edit button.
I hope this help you.
Bye!
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform