469,934 Members | 1,998 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

changing control style (look) while in disable mode


I'm using .net 2 C#.
I would like to change the layout of the Disable so it will looks like
it is enable but the user will not be able to focus on the control nor
entring him with keyboard, mouse or by code.
i know that i can catch the enter event or something like that but
doing so will cause raising chain of events (leaving the other control,

entering this one and moving to an other).
If there is no way to change the view of control while they are disable

(so they will look like they are enabled). i would like to add property

that will allow me to prevent users from entering my control (exacly as

enable/disable but using custom property).
Thanks in advance

Sep 6 '06 #1
0 1063

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Geoff Soper | last post: by
1 post views Thread by ratnakarp | last post: by
2 posts views Thread by JC Voon | last post: by
4 posts views Thread by Jon Slaughter | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.