Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabled Controls in a Form

Status
Not open for further replies.

trystanhuwwilliams

Programmer
Aug 23, 2002
39
GB
Hi,
Is there any way to change the text in disabled controls in a form so that they are easier to read. The read-only data currently displayed is a light grey which is hard to see. Any suggestions?

 
Under data properties for the control in question set the following.

enabled no
locked yes

which will force the control to look perfectly normal but which will disallow any changes. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Alternativly, if you still want to prevent the user Tabbing into ( or any other way selecting ) the control - you can set Enabled = No AND Locked = Yes

This option leave the control looking okay but prevents the control receiving the focus. ( Handy if you have any On_Focus type events that you don't want to run.

ONLY the combination of Enabled = No and Locked = No causes the Greying out effect.


'ope-that-'elps.

G LS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top