-
May 8th, 2012, 02:45 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] windows form control
There are two combo boxes on the windows form.
Inside the code depending on the click event of a button they both become enabled or disabled i.e.
cbo1.enabled = true;
cbo2.enabled = true;
or
cbo1.enabled = false;
cbo2.enabled = false;
When they are disabled, cbo2 is greyed out but although cbo1 is not changable (i.e. it is disabled) cbo1 has a white background and only the text inside it is greyed out. cbo1 is not completely greyed out as same as cbo2.
Backcolor of both controls is set to Window in design mode
Forecolor of both controls is set to WindowText in design mode
Question:
Do you know why the cbo1 is not completely greyed out?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|