Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color of disable - gray
Message
From
19/12/2000 16:51:37
 
 
To
19/12/2000 16:48:07
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00455216
Message ID:
00455236
Views:
29
>>Try the DisabledBackColor property. - also, keep in mind that Enabled = .F. will set the fore color to the DisabledForeColor, whereas ReadOnly = .F. won't.
>
>
>Are the ReadOnly and Enabled same thing?
>

No. Enabled = .F. prevents the control from receiving focus, ReadOnly = .T. allows the control to receive focus, but it does not update its bound field (if any).


>Do I code like this (e.g.) This.field1.ReadOnly = .F.?

That would make it available - it seems you want it to be unavailable, so it would be this.field1.ReadOnly = .T.

>
>Does the DisabledBackColor work with ReadOnly?

Yes.

>
>(I have not tried it yet)
>
>Chuck
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform