ReadOnly RadioButton, KeyPreview, "MousePreview"

  • Thread starter Thread starter Ryan Liu
  • Start date Start date
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
 
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
 
Back
Top