PC Review


Reply
Thread Tools Rate Thread

changing control style (look) while in disable mode

 
 
esakal
Guest
Posts: n/a
 
      6th Sep 2006
Hello,

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
Eran

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I disable a container without changing the style of contained controls? Joseph Geretz Microsoft Dot NET Framework Forms 4 5th Aug 2009 02:21 PM
changing the style of a button inside a Login Control? jobs Microsoft ASP .NET 1 20th Jul 2007 07:22 PM
Changing the style of the button portion of an HtmlInput control Mark Rae Microsoft ASP .NET 12 8th Mar 2005 11:55 AM
Changing style attributes of HTML file upload control Ray Costanzo [MVP] Microsoft ASP .NET 1 14th Dec 2004 03:11 AM
Select Control Flickers When Changing Style of Other Elements? Amy G Windows XP Internet Explorer 0 3rd Dec 2003 08:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:20 PM.