Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with combo style 2 vfp 6
Message
De
17/10/2004 23:16:37
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00952074
Message ID:
00952183
Vues:
9
>>>>Alex,
>>>>Thank you for the suggestion. I thought about When event but I would like to gray out the combo box when user clicks in it (to clearly indicate that editing is not allowed). Got Focus and Lost Focus work for all other controls but combo. I don't think you can gray out the control in When event.
>>>
>>>Hi Dmitry,
>>>
>>>What is the condition, that trigers whether your combo should be enabled or disabled? Could you set it from the form's level instead?
>>
>>Nadya,
>>I have a form property that is set to negative 1 (-1) to indicate that data should not be changed. I guess I could change the design, as you suggest, but it works with all controls but the combo. So far, I basically decided for follow yours and Alex suggestion to use When event.
>>Thank you.
>
>If it's a form property and all controls should be disabled why not use SetAll method?

I think you are right, it could and should be done that way. And I will probably follow your suggestion. I just need time to redesign this program. For now a quick fix with When event will work.

Again, thank you so much for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform