Presentation is loading. Please wait.

Presentation is loading. Please wait.

CHAPTER FOUR VARIABLES AND CONSTANTS

Similar presentations


Presentation on theme: "CHAPTER FOUR VARIABLES AND CONSTANTS"— Presentation transcript:

1 CHAPTER FOUR VARIABLES AND CONSTANTS
COMPUTER MATHEMATICS CHAPTER FOUR VARIABLES AND CONSTANTS

2 OPTION BUTTONS Referred to as radio buttons
Way to obtain input from the user Grouped to provide a set of choices Only one option button can be selected at one time

3 OPTION BUTTON PROPERTIES
Name – identifies the object and is used by the programmer; begins with opt. Caption – text displayed on the option button label; can be changed at runtime Value – True or False to display the option button as being selected or not ; only one option button can be True at any given time; changing the value of one button to True will automatically change the other button to False

4 OPTION BUTTONS A click event is usually coded for each button.
The click event is executed when the user clicks on an option button A Frame – is a container object to group option buttons relative to a single choice Frame must be created before any option buttons are added to the application Frame properties – name beginning with fra; caption which is text as the frame label

5 LAB TIME REVIEW # 11


Download ppt "CHAPTER FOUR VARIABLES AND CONSTANTS"

Similar presentations


Ads by Google