Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box display and access
Message
From
15/01/2004 18:49:14
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00867328
Message ID:
00867329
Views:
15
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform