ReadOnly RadioButton, KeyPreview, "MousePreview"

R

Ryan Liu

Hi,

I know Form has a KeyPreview property, is there a similar property that can
be used to control mouse event that is only processed at the from level, not
the controls on it?

I am asking this is because there is no ReadOnly property for RadioButton.

And is ther better to even have KeyPreview, MousePreview properties for
Control that can be used if the mouse keyboard event can be passed to child
control on it?

When we don't have those properties in .NET 1.1, what is the best way to
make radio button or group of radio buttons (on a sigle user control) read
only?


Thanks a lot!
Ryan Liu
 
C

Claes Bergefall

Set the AutoCheck property to false. Then they won't automatically change
state when you click on them (you have to change it with code)

/claes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top