
Occurs when the value of the Checked property of the RadioButton control is changed.Ĭonsult Microsoft documentation for detailed list of properties, methods and events of the RadioButton control. Occurs when the value of the Appearance property of the RadioButton control is changed. The following are some of the commonly used events of the RadioButton control − Sr.No Generates a Click event for the control, simulating a click by a user. The following are some of the commonly used methods of the RadioButton control − Sr.No. Gets or sets a value indicating whether a user can give focus to the RadioButton control using the TAB key. Gets or sets the caption for a radio button. Gets or sets a value indicating whether the control is checked. Gets or sets the location of the check box portion of the radio button. Gets or sets a value indicating whether the Checked value and the appearance of the control automatically change when the control is clicked. Gets or sets a value determining the appearance of the radio button. The following are some of the commonly used properties of the RadioButton control − Sr.No. You can also change the appearance of the radio button control by using the Appearance property. You can display text, image or both on radio button control. The Checked property of the radio button is used to set the state of a radio button. Let's create three radio buttons by dragging RadioButton controls from the Toolbox and dropping on the form.

If you need to place more than one group of radio buttons in the same form, you should place them in different container controls like a GroupBox control. The user can select one radio button in a group. ' Make the Font of all the buttons regular.The RadioButton control is used to provide a set of mutually exclusive options. ' Make the Font Bold for the currently active ' button. Private Sub Form_MouseMove(Button As Integer, Shift As _ Private Sub Command2_MouseMove(Button As Integer, Shift As _ Private Sub Command1_MouseMove(Button As Integer, Shift As _

When the mouse moves over the form, it makes that button bold. This example also keeps track of the button with the input focus. Make it non-bold in the Form's MouseMove event handler.

Make the button's caption bold in its MouseMove event handler. Make a button's caption bold when the mouse moves over it VB Helper: HowTo: Make a button's caption bold when the mouse moves over it
