30 likes | 118 Views
2e – RadioButtons. CSCI N331 VB .NET Programming. Lingma Acheson. Department of Computer and Information Science, IUPUI. RadioButtons. Select one single choice from a group of items. Must put all in one GroupBox . GroupBox properties Name: grpYyyy
E N D
2e – RadioButtons CSCI N331 VB .NET Programming Lingma Acheson Department of Computer and Information Science, IUPUI
RadioButtons • Select one single choice from a group of items. • Must put all in one GroupBox. • GroupBox properties • Name: grpYyyy • Font: applies to all the texts on this box • Text: provide information or instructions
RadioButtons • RadioButton Properties: • Name: radYyyyy • Text: word by the radio button • Font: overwrites the text font set by the GroupBox • Checked: indicated if the button is already checked when the program starts. Usually have one default choice. If none is checked, the program might end up having no selections if the user doesn’t choose one after the program runs. • Can have multiple groups on one Form.