Skip to main content

Radio Button and Checkbox

Body
Radio button or option button, is a circular control that comes in a group with other controls of the same type. Usually a radio button like an empty circle or a donut. If it is clicked, it will be filled with a big dot. And in every group of radio button only one can be selected by the user. Example in a membership form, there is always a radio button for Gender for Male and Female. Example: Visual Basic Code:
  1. 
  2. 'check if the selected radiobutton is male
  3. If RadioButton1.Checked = True Then
  4. 'display that the selected radio button is Male
  5. MsgBox("Your Gender is Male")
  6. 'check if

Comments

Submitted byAnonymous (not verified)on Sun, 01/10/2021 - 04:39

Thank you.

Add new comment