What are some of the commonly used CheckBox and RadioButton properties, and the default event for which a method shell is generated for these classes in the IDE? If you wanted a user to select which pizza toppings he or she wanted from a group of possible toppings, which Control would you use and why?
What will be an ideal response?
Commonly used properties include:
Property or MethodDescription
CheckedIndicates whether the CheckBox or RadioButton is checked
TextThe text displayed to the right of the CheckBox or RadioButton
CheckedChanged()The default event that is generated when the Checked property changes
When a Form contains multiple Checkboxes, any number of them can be checked or unchecked at the same time. RadioButtons differ in that only one RadioButton in a group can be selected at a time. Therefore, Checkboxes would be more suitable for pizza toppings so that multiple toppings could be selected.
You might also like to view...
After clicking File, Open, and then the All PowerPoint Presentations arrow, which files will be listed?
A) All files in a format PowerPoint recognizes B) Only PowerPoint files C) All files on whichever drive you specify D) All files on your hard drive
What type of library consisting of common routines or data is used to support the development of Windows applications?
A. Open source library B. dynamic link library C. software library D. application library