CHAPTER FOUR VARIABLES AND CONSTANTS

Slides:



Advertisements
Similar presentations
Working with Intrinsic Controls and ActiveX Controls
Advertisements

Compunet Corporation Programming with Visual Studio.NET GUI Week 13 Tariq Aziz and Kevin Jones.
Text Box controls are used when users are required to type some input (during program execution), or output is displayed on the form (known as the user-
Introduction to Computing Dr. Nadeem A Khan. Lecture 11.
CSC110 Fall Chapter 5: Decision Visual Basic.NET.
Computer Science 103 Chapter 4 Advanced JavaScript.
Chapter 31 Visual Basic Controls A Form is a windows-style screen displayed by Visual Basic programs. In a form, a programmer can create objects in a form.
Introduction To Form Builder
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 3 Tariq Aziz and Kevin Jones.
Compunet Corporation Programming with Visual Basic.NET GUI Chapter 3 Week 13 Tariq Aziz and Kevin Jones.
Adding Controls to User Forms. Adding Controls A user form isn’t much use without some controls We’re going to add controls and write code for them Note.
Slide 1 Chapter 2 Visual Basic Interface. Slide 2 Chapter 2 Windows GUI  A GUI is a graphical user interface.  The interface is what appears on the.
Visual Basic Chapter 1 Mr. Wangler.
Lab 9 – User Forms Design. User Forms What are user forms? –Known as dialog boxes –Major ways for getting user input An example of using user forms: Monthly.
Chapter 8: Writing Graphical User Interfaces
© 2006 Lawrenceville Press Slide 1 Chapter 3 Visual Basic Interface.
Chapter 8: Writing Graphical User Interfaces Visual Basic.NET Programming: From Problem Analysis to Program Design.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Programming Test #1 Solutions. Multiple Choice 1. B) the grammar of the coding language 2. C) String 3. A) Single 4. C) 2Burgers4Me 5. B) Design Time.
Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
COMPUTER PROGRAMMING I 3.02 Apply Properties Associated with the Controls.
Chapter 11 - A GUI Interacting With a Problem Domain Class1 Chapter 11 A GUI Interacting With a Problem Domain Class 11.
Controls Part 2. DateTimePicker Control Used for representing Date/Time information and take it as input from user. Date information is automatically.
1 Chapter 4 – Decisions 4.1 Relational and Logical Operators (see other set of slides) 4.2 If Blocks (see other set of slides) 4.3 Select Case Blocks (see.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
1 CS 106 Computing Fundamentals II Chapter 210 “Adding Controls to User Forms” Herbert G. Mayer, PSU CS Status 7/4/2013 Initial content copied verbatim.
Controlling Program Flow with Looping Structures
Controlling Program Flow with Decision Structures.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
Copyright © Don Kussee 1410-Ch5 #1031 CNS 1120 Chapter 5 Selection statements 1120-Ch5.PPT.
Using Option Buttons. Option Buttons Are similar to checkboxes. Must appear in groups. Only one button in the group can be selected at a time. Sometimes.
Adding Code to the Option Button. Open VB 1.Double click the Calculate button and select General from the Object list box. 2.Add the following code to.
Controls for Choices. Let’s look at a couple of new controls: option buttons and check boxes These controls are designed to be used when you want the.
Knowledge Base. Defining a Variable Dim statement Dim intXX As Integer Public in a Module Public dblNN As Double.
Programming with Visual Basic.NET. Quick Links Program Code The Code Window The Event Procedure Assignment Statements Using AutoList Radio Buttons Buttons.
Chapter 4.  Variables – named memory location that stores a value.  Variables allows the use of meaningful names which makes the code easier to read.
Visual Basic.NET BASICS Lesson 9 Nested If Statements and Radio Buttons.
Course ILT Using complex selection structures Unit objectives Include radio buttons and check boxes in an interface, create and call a user- defined Sub.
1 Chapter 6: Creating Oracle Data Block Forms. 2 Forms  Application with a graphical user interface that looks like a paper form  Used to insert, update,
COMPUTER PROGRAMMING I Apply Procedures to Develop List Box and Combo Box Objects.
3.02 APPLY PROPERTIES ASSOCIATED WITH THE CONTROLS Computer Programming I.
Visual Basic.NET Windows Programming
A First Look at GUI Applications Radio Buttons and Check Boxes
Topics Graphical User Interfaces Using the tkinter Module
Introduction to Programming and Visual Basic
Chapter Topics 15.1 Graphical User Interfaces
Chapter 8: Writing Graphical User Interfaces
CS 106 Computing Fundamentals II Chapter 35 “Controls For Choices”
Even More VBA IE 469 Spring 2017.
Chapter 3 Fundamentals of Programming in Visual Basic 3
Excel VBA Day 3 of 3 Tom Vorves.
Standard Controls.
Chap 7. Building Java Graphical User Interfaces
Graphical User Interfaces -- Introduction
Chapter 2 Visual Basic Interface
Microsoft Visual Basic 2005 BASICS
CHAPTER FIVE Decision Structures.
The Check Box Control Consists of a small square and a caption
The Web Wizard’s Guide To JavaScript
Visual Basic Programming Chapter Four Notes Working with Variables, Constants, Data Types, and Expressions GROUPBOX CONTROL The _____________________________________.
Chapter 15: GUI Applications & Event-Driven Programming
F T T T F.
Group Boxes, Radio buttons and Checked List Boxes
GUI Programming in Visual Studio .NET
TA: Nouf Al-Harbi NoufNaief.net :::
Running Your Visual Basic Program
Presentation transcript:

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

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

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

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

LAB TIME REVIEW # 11