Tuesday, May 10, 2011

Option Buttons



·         Option buttons provide the capability to make a mutually exclusive choice among a group of potential candidate choices.  Hence, option buttons work as a group, only one of which can have a True (or selected) value.

·         Option Button Properties:

Caption                  Identifying text next to button.
Font                       Sets font type, style, size.
Value                     Indicates if selected (True) or not (False).  Only one option button in a group can be True.  One button in each group of option buttons should always be initialized to True at design time.

·         Option Button Events:

Click                      Triggered when a button is clicked.  Value property is automatically changed by Visual Basic.





.

No comments:

Post a Comment