Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBox BackColor with ReadOnly=.T. question.
Message
From
01/05/2002 10:55:31
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
01/05/2002 09:48:03
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00651292
Message ID:
00651330
Views:
19
In the Init of the textbox, do:
THIS.DisabledBackColor = THIS.BackColor
This will allow you to observe the user's system color settings, without hard-coding any colors.

>Hello VFP world,
>something probably very simple but need help.
>If I set TextBox.ReadOnly property to .T., it's BackColor(I think it's BackColor) wiil change to Gray color, which, I think, normal VFP behavior. I'd like to keep it White(16777215). I've tried a few combinations, nothing worked. Could anybody give me some help with this, please?
>I am working with VFP 7.0
>Regards
>Igor
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform