Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to shade a field on a form
Message
From
03/07/2014 12:02:32
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01603189
Message ID:
01603191
Views:
59
Set the textbox property to ReadOnly = .T.. This will cause the color to be set according to what the user has set in Windows.

You could also use Enabled = .F. It will have a different effect. However, according to Windows Ux guidelines, the disabled color indicates the user can do something (example, click a check box) to enable that field.

>Can someone tell me how to do this. I have a field that sometimes I do not want to be changed by the user, but I would like the user to see the contents of that field to be Visible. I would just like the contents to appear a little lighter than normal or somthing like that.
>
>So, Visible = .F. is not what I am after. Anyone know a good way to do this?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform