Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab3 Check Boxes,Option Buttons Frame Control Frame Control MsgBox, InputBox Functions Day7.

Slides:



Advertisements
Similar presentations
Working with Intrinsic Controls and ActiveX Controls
Advertisements

Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Microsoft Visual Basic: Reloaded Chapter Five More on the Selection Structure.
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 2 More Controls.
Mark Dixon Page 1 04 – Database Design: Forms. Mark Dixon Page 2 Session Aims & Objectives Aims –To allow easier data entry using forms Objectives, by.
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-
Exploring Office Grauer and Barber 1 Creating More Powerful Applications: Introduction to VBA(Wk9)
ISP 121 Week 3 Access Forms and Reports. Displaying Data – The Form One way to start a form is to use the Form Wizard What table or query are you creating.
Automating Tasks With Macros. 2 Design a switchboard and dialog box for a graphical user interface Database developers interact directly with Access.
Input Validation Check the values entered into a text box before beginning any calculations Validation is a form of ‘self-protection’, rejecting bad data.
Input and Message Boxes. InputBox() Function An input box is a dialog box that opens and waits for the user to enter information. Syntax: InputBox(prompt[,title][,default])
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab10 Interacting with Data (Database Management)
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab5 ListBox Control Properties, Methods and Events.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 بسم الله الرحمن الرحيم Palestine Polytechnic University College of Administrative science and.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab2 Managing Controls.
Input Validation Check the values entered into a text box before beginning any calculations Validation is a form of ‘self-protection’, rejecting bad data.
FIS 318/618: Financial Systems & Databases Forms and Reports Oakland University School of Business Administration Accounting and Finance Joe Callaghan.
Technology Education and Information Design Copyright 2009 MediTech NUI: New User Interface Online Training.
Introduction To Form Builder
Slide 1 VB Default Controls Text Box, Check Box, Option Button & Frames.
MsgBox Function Displays one of Visual Basic’s predefined dialog boxes, which contains a message, one or more command buttons, and an icon After displaying.
Access Ch 5 Review.
CST JavaScript Validating Form Data with JavaScript.
WORKING WITH MACROS CHAPTER 10 WORKING WITH MACROS.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 4: Create, Edit, and Perform.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Five More on the Selection Structure.
1 1 Lab1 Ismail M. Romi – IT Dept, PPU, Visual Basic 2005 Programming Tour.
Click your mouse to continue. Ways to Merge Data When you have finished editing your main document and inserting the merge fields, you have several choices.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 8 Dental Payment Application Introducing CheckBox es and Message Dialogs.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter Five More on the Selection Structure.
Working with option button, check box, and list box controls Visual Basic for Applications 13.
Access Manual 2 By Dhawala Kovuri Elham S.Khorasani Ismail Guneydas.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab9 Control Array Print Method Printing VB Output.
Dialog Boxes – Day 1 Built-in Dialog Boxes Input Box Message Box Custom Dialog Boxes – User Forms.
Microsoft Access 2013 ®® Tutorial 10 Automating Tasks with Macros.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
Forms Using. 2  Plan a form  Create a form  Move and resize controls  Modify labels  Modify text boxes Objectives.
Microsoft Access 2002 Illustrated Complete Forms Using.
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 2 More Controls.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
More Form Tools Combo Box (displays a list) Check Box (yes/no) Frame (groups option buttons) Option Button (exclusive choice) Ref Edit (user selects cells)
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.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Advanced Form Design.
Controlling Program Flow with Looping Structures
Visual Basic.net Functions. Function (Defined) A procedure that returns a value when called.
Using a Database Access97 Please use speaker notes for additional information!
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
More Visual Basic!. Creating a Standalone Program A standalone program will allow you to make a program file that can be run like other Windows programs,
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
Knowledge Base. Defining a Variable Dim statement Dim intXX As Integer Public in a Module Public dblNN As Double.
Creation of Variables with Numeric, alphanumeric, date, picture, memo data types Constant - A quantity that does not change during the execution of a program.
MsgBox, Input Box Functions Check boxes, radio button MsgBox, Input Box Functions Lab 3 3 Ismail M. Romi: PPU- IT Dept.
Chapter 6 Controlling Program Flow with Looping Structures.
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,
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Topics Graphical User Interfaces Using the tkinter Module
Microsoft Visual Basic 2005 BASICS
The Check Box Control Consists of a small square and a caption
Together Let’s Design an Online Quiz
Control Structures Part B - Message and Input Boxes
Additional Topics in VB.NET
Topics Graphical User Interfaces Using the tkinter Module
CHAPTER FOUR VARIABLES AND CONSTANTS
TA: Nouf Al-Harbi NoufNaief.net :::
Presentation transcript:

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab3 Check Boxes,Option Buttons Frame Control Frame Control MsgBox, InputBox Functions Day7

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 2 Check Box Control A control used to toggle an option On or Off ( Yes/No, T/F….) Properties: Value property: 0 : Deselected 1 : Selected 2 : Option presented in check box is not available Events : Click event : a primary event

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 3 Option Button A control used to permit the selection of one option from several choices Option buttons appears in groups ( two or more) to represent mutually exclusive choices (one button in the group always selected) Option buttons can be grouped by placing them in a frame. Properties: Value : True/False ( Selected/Deselected) When the value is set to True to an option, the value of the other options in the group sets to False. Caption: to specify the text title that appears beside the button

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 4 Frame Control A container for other controls ( option buttons, check boxes,… etc)

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 5 MsgBox() Function A function that produced a message box. Message Box: A small dialog box used for output during a program’s execution.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 6 Syntax: IntResponse=MsgBox(MsgText[, Style][, MsgBoxTitle]) IntResponse: Integer return value from MsgBox function. See Table 7.2 page 174 MsgBoxTitle MsgText MsgButtons MsgIcon

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 7 MsgBox( )..[CONT] IntResponse=MsgBox(MsgText[, Style][, MsgBoxTitle]) MsgText:String value that display the message box’s message. Style: [MsgButtons] [+ DefaultButton] [+ MsgIcon] MsgButtons: Integer value to determine number of buttons at the MsgBox. See Table 7.1 Page 173 DefaultButton: To Specify the dafault button when the message box first appears. See Table 7.3 page 175 MsgIcon: To specify the icon that appears with the message. See Table 7.4 page 176

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 8 MsgBox( )..[CONT] Example : MsgBox(“EnterStudentName”, ,”Student Record”) Note: You Can sum = 20 VB can evaluate the sum and produce the output

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 9 InputBox( ) Function Syntax: Var = InputBox(MsgText [,MsgBoxTitle][,DefaultVal][,Xpos][,Ypos]) Example: StdName= Inputbox(“Enter your name”, ”Student Record”, “Ali”) A message box with a field, in which the user can type a value.

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 10 Lab Training Questions: Watch the following preview carefully, then design VB projects to perform the required interface. Preview: Lab3-1, Lab3-2, Lab3-3

Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 11 Lab3 End