Click here to Skip to main content
15,889,200 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get Computer Name Using VB6 Pin
Dave Kreskowiak15-Sep-07 2:34
mveDave Kreskowiak15-Sep-07 2:34 
QuestionThe meaning of the # in VB Pin
Andy20214-Sep-07 11:16
Andy20214-Sep-07 11:16 
AnswerRe: The meaning of the # in VB Pin
Dave Kreskowiak14-Sep-07 12:45
mveDave Kreskowiak14-Sep-07 12:45 
AnswerRe: The meaning of the # in VB Pin
Dave Doknjas14-Sep-07 13:46
Dave Doknjas14-Sep-07 13:46 
QuestionRounding Question [modified] Pin
Hags14-Sep-07 10:25
Hags14-Sep-07 10:25 
AnswerRe: Rounding Question Pin
Dave Kreskowiak14-Sep-07 12:41
mveDave Kreskowiak14-Sep-07 12:41 
Questionradio button vb.net 1.1 Pin
mshytech14-Sep-07 8:04
professionalmshytech14-Sep-07 8:04 
AnswerRe: radio button vb.net 1.1 Pin
Dave Kreskowiak14-Sep-07 9:16
mveDave Kreskowiak14-Sep-07 9:16 
mshytech wrote:
have a radio button that is disabled on form load, why is the font color(forecolor) different when disabled


Because it's disabled. This is standard Windows functionality.


mshytech wrote:
and how do I change it?


You don't. There is no property to change the disabled foreground color.

You can simulate the "normal" colors with a disabled RadioButton by leaving it enabled, then handling the Click event of the RB and resetting it's Checked property to the opposite of what it is:
RadioButton1.Checked = Not RadioButton1.Checked



A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: radio button vb.net 1.1 Pin
mshytech14-Sep-07 9:43
professionalmshytech14-Sep-07 9:43 
AnswerRe: radio button vb.net 1.1 [modified] Pin
Taylor Kobani14-Sep-07 9:27
Taylor Kobani14-Sep-07 9:27 
GeneralRe: radio button vb.net 1.1 Pin
Dave Kreskowiak14-Sep-07 9:29
mveDave Kreskowiak14-Sep-07 9:29 
GeneralRe: radio button vb.net 1.1 Pin
Taylor Kobani14-Sep-07 9:46
Taylor Kobani14-Sep-07 9:46 
GeneralRe: radio button vb.net 1.1 Pin
Dave Kreskowiak14-Sep-07 10:22
mveDave Kreskowiak14-Sep-07 10:22 
AnswerRe: radio button vb.net 1.1 Pin
rohitsrivastava14-Sep-07 23:39
rohitsrivastava14-Sep-07 23:39 
GeneralRe: radio button vb.net 1.1 Pin
Dave Kreskowiak15-Sep-07 2:24
mveDave Kreskowiak15-Sep-07 2:24 
GeneralRe: radio button vb.net 1.1 Pin
Paul Conrad15-Sep-07 3:49
professionalPaul Conrad15-Sep-07 3:49 
GeneralRe: radio button vb.net 1.1 Pin
Dave Kreskowiak15-Sep-07 6:05
mveDave Kreskowiak15-Sep-07 6:05 
GeneralRe: radio button vb.net 1.1 Pin
mshytech17-Sep-07 10:36
professionalmshytech17-Sep-07 10:36 
GeneralRe: radio button vb.net 1.1 Pin
mshytech18-Sep-07 10:26
professionalmshytech18-Sep-07 10:26 
GeneralRe: radio button vb.net 1.1 Pin
Dave Kreskowiak18-Sep-07 12:16
mveDave Kreskowiak18-Sep-07 12:16 
GeneralRe: radio button vb.net 1.1 Pin
mshytech19-Sep-07 2:52
professionalmshytech19-Sep-07 2:52 
QuestionCatching Maximize event Pin
jensenx14-Sep-07 7:05
jensenx14-Sep-07 7:05 
AnswerRe: Catching Maximize event Pin
Dave Kreskowiak14-Sep-07 7:45
mveDave Kreskowiak14-Sep-07 7:45 
GeneralRe: Catching Maximize event Pin
jensenx14-Sep-07 17:08
jensenx14-Sep-07 17:08 
GeneralRe: Catching Maximize event Pin
Luc Pattyn14-Sep-07 17:25
sitebuilderLuc Pattyn14-Sep-07 17:25 

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.