423,850 Members | 1,562 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,850 IT Pros & Developers. It's quick & easy.

how to make datagridview look disabled after enabled = false

nev
100+
P: 251
when i do...

dgv.enabled = false

dgv gets disabled as in you are unable to use the control. but it looks enabled because its appearance is still the same. Unlike a textbox which becomes grayed-out.

what is the best way to make it look disabled like a disabled textbox?
Dec 4 '07 #1
Share this Question
Share on Google+
1 Reply


nev
100+
P: 251
nev
i managed to make it look disabled by...

dgv.forecolor = gray
dgv.columnheader.forecolor = gray

but what about a checkbox column? how do i make it look disabled?
Dec 4 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.