By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,275 Members | 936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,275 IT Pros & Developers. It's quick & easy.

How does one know if ActiveControl is readonly or not?

P: n/a
Hi, I need to determine if the current ActiveControl is ReadOnly. I need to
find this out in the Form's keypress event. How do I go about doing this?
Also, I have a control this is a datagridview. In this datagridview I have
some columns that are set to readonly, how do I check on Form's keypress
event if the key pressed happened on a ReadOnly column/cell?

Thank you.

Rick..

Sep 5 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.