Css...

Sent from my HTC

------------------------------
Od: southstander132 <[email protected]>
Odesláno: 29. března 2011 7:58
Komu: [email protected] <[email protected]
>
Předmět: [DotNetDevelopment] Making controls read only within a group box

Greetings,

I know how to loop thru controls in a groupbox and disable them, or make the
entire groupbox enabled = false, but the users say they can't see the text
when the fields are disabled - the color is greyed out and too light.  I
can't figure out how to make these fields (text boxes, comboboxes, etc.)
readonly instead.  I get the error:

Error 2 'System.Windows.Forms.Control' does not contain a definition for
'Readonly' and no extension method 'Readonly' accepting a first argument of
type 'System.Windows.Forms.Control' could be found (are you missing a using
directive or an assembly reference?)

Is there any way to do this?  Or are they just stucked with greyed out text?

Thanks so much in advance!

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to