Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
GeneralRe: config file for a class library Pin
Arjan Einbu28-Jun-03 11:39
Arjan Einbu28-Jun-03 11:39 
GeneralShortcut enum Pin
Neil Lamka27-Jun-03 5:47
Neil Lamka27-Jun-03 5:47 
GeneralTabStops in ListBox Pin
Roland Bär27-Jun-03 2:59
Roland Bär27-Jun-03 2:59 
GeneralRe: TabStops in ListBox Pin
Rocky Moore27-Jun-03 23:15
Rocky Moore27-Jun-03 23:15 
GeneralRe: TabStops in ListBox Pin
Roland Bär29-Jun-03 21:13
Roland Bär29-Jun-03 21:13 
GeneralRe: TabStops in ListBox Pin
Rocky Moore30-Jun-03 0:45
Rocky Moore30-Jun-03 0:45 
GeneralRe: TabStops in ListBox Pin
Roland Bär30-Jun-03 1:05
Roland Bär30-Jun-03 1:05 
GeneralRe: TabStops in ListBox Pin
Rocky Moore2-Jul-03 5:01
Rocky Moore2-Jul-03 5:01 
You know you can always build a class based on it and then override the painting to display the string as you wish. In .NET it is easy to extend classes! I have a entire set of controls (or most at least the ones I use all the time) wrapping the standard controls and then add in my own form style sheets to control the appearance and functionilty globally in the applications.

For an example, I can change color for read-only state, normal state, hover state. I am completely rebuilding a DatePicker control because I have not found one I like and have already rebuilt a checkbox that includes the text and checkbox within a box that has its background able to be set in any one of those three states.

In my current product, I wanted to keep all controls while browsing data in a read-only state and then when they hit a button to enable editing of the record, it will change the state and the appearanc of all the controls change without have those gray almost unreadable appearance of disabled controls.

All of this started when I got ticked because I could find no way to show the state of a tri-state checkbox when it was disabled.

Oh well, there I go rattling again. In short, it is easy to customize the output of controls so that you get the functionality you want.

Rocky Moore <><
Generaldeclaring variables... Pin
theJazzyBrain27-Jun-03 0:38
theJazzyBrain27-Jun-03 0:38 
GeneralRe: declaring variables... Pin
Nathan Blomquist27-Jun-03 2:02
Nathan Blomquist27-Jun-03 2:02 
GeneralRe: declaring variables... Pin
theJazzyBrain27-Jun-03 2:32
theJazzyBrain27-Jun-03 2:32 
GeneralRe: declaring variables... Pin
Roland Bär27-Jun-03 3:03
Roland Bär27-Jun-03 3:03 
GeneralRe: declaring variables... Pin
theJazzyBrain27-Jun-03 3:07
theJazzyBrain27-Jun-03 3:07 
GeneralRe: declaring variables... Pin
leppie27-Jun-03 7:19
leppie27-Jun-03 7:19 
GeneralRe: declaring variables... Pin
Oleksandr Kucherenko27-Jun-03 2:58
Oleksandr Kucherenko27-Jun-03 2:58 
GeneralRe: declaring variables... Pin
theJazzyBrain27-Jun-03 3:04
theJazzyBrain27-Jun-03 3:04 
GeneralRe: declaring variables... Pin
Oleksandr Kucherenko27-Jun-03 3:15
Oleksandr Kucherenko27-Jun-03 3:15 
GeneralRe: declaring variables... Pin
theJazzyBrain27-Jun-03 3:23
theJazzyBrain27-Jun-03 3:23 
GeneralRe: declaring variables... Pin
Arjan Einbu28-Jun-03 11:43
Arjan Einbu28-Jun-03 11:43 
GeneralRe: declaring variables... Pin
theJazzyBrain28-Jun-03 11:59
theJazzyBrain28-Jun-03 11:59 
GeneralRe: declaring variables... Pin
Arjan Einbu29-Jun-03 0:37
Arjan Einbu29-Jun-03 0:37 
GeneralRe: declaring variables... Pin
theJazzyBrain29-Jun-03 0:54
theJazzyBrain29-Jun-03 0:54 
GeneralPrinter fonts Pin
berylius26-Jun-03 22:07
berylius26-Jun-03 22:07 
GeneralRe: Printer fonts Pin
Mazdak26-Jun-03 22:32
Mazdak26-Jun-03 22:32 
GeneralRe: Printer fonts Pin
berylius26-Jun-03 22:42
berylius26-Jun-03 22:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.