Custom dialog boxes Unit objectives

Slides:



Advertisements
Similar presentations
Course ILT Working with related tables Unit objectives Use the Lookup Wizard to create a lookup field and a multivalued field Modify lookup field properties.
Advertisements

Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Information System Design Lab 5&6. User Interface Design.
C# Programming: From Problem Analysis to Program Design1 Programming Based on Events C# Programming: From Problem Analysis to Program Design 3 rd Edition.
Graphical User Interface (GUI) A GUI allows user to interact with a program visually. GUIs are built from GUI components. A GUI component is an object.
ListBoxes The list box control allows the user to view and select from multiple items in a list. CheckedListBox control extends a list box by including.
Visual Basic for Applications Class III. User Forms  We place controls on User Forms to get input from the user.  Common controls include text boxes,
Compunet Corporation Programming with Visual Basic.NET GUI Chapter 3 Week 13 Tariq Aziz and Kevin Jones.
Introduction to Visual Basic. What is Visual Basic? An environment for developing Windows applications Components –A GUI (Graphical User Interface - gooey)
Not in Text CP212 Winter No VBA Required “Regular” Programming traditional programming is sequential in nature o one command executed after another.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
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.
IN THE NAME OF ALLAH UserForms on VBA Lab 06 Tahani Al_dweesh.
Microsoft Visual Basic 2008 CHAPTER 8 Using Procedures and Exception Handling.
Ch 11: Userforms CP212 Winter Topics Designing User Forms o Controls Setting Properties o Tab Order o Testing Writing Event Handlers o Userform_Initialize.
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Controls in C++/CLI (2) CheckBox RadioButton GroupBox ListBox.
Graphical User Interfaces Tonga Institute of Higher Education.
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
Controls. Adding Controls to Form -You can pick controls from the toolbox. -To add the controls from Toolbox to the Form You have be in design view. -To.
Access Forms ISYS 562. Components of a Form Form Header, Form Footer Page Header, Page Footer Detail Section Controls.
1 Creating Windows GUIs with Visual Studio. 2 Creating the Project New Project Visual C++ Projects Windows Forms Application Give the Project a Name and.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
SEEM3460 Tutorial GUI in Java. Some Basic GUI Terms Component (Control in some languages) the basic GUI unit something visible something that user can.
HTML FORMS The TEXT Object Presented By: Ankit Gupta.
MIS333k(Poynor) Chapter 2. Intro to VBA Events Where to plug in your programs?
Design the form above that calculates GPAs. It has a ComboBox of grades, a NumericUpDown control for credits, a button to add grades and credits to two.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Using Forms and Form Elements In Visual Basic.NET.
Introducing UserForms Joanna Wyrobek 1. Ms Excel UserForms A UserForm object is a window or dialog box that makes up part of an application's user interface.
Working with UserForms Dr Joanna Wyrobek 1. Displaying a modeless UserForm By default, UserForms are displayed modally. This means that the UserForm must.
COMPUTER PROGRAMMING I Apply Procedures to Develop List Box and Combo Box Objects.
Chapter 9 Programming Based on Events
Apply Procedures to Develop Menus, List Box and Combo Box Objects
Computing with C# and the .NET Framework
Topics Graphical User Interfaces Using the tkinter Module
Chapter Topics 15.1 Graphical User Interfaces
CSCI 3328 Object Oriented Programming in C# Chapter 2: Introduction to Visual C# Programming UTPA – Fall 2012 This set of slides is revised from lecture.
Tutorial 10 – Class Average Application Introducing the Do…Loop While and Do…Loop Until Repetition Statements Outline Test-Driving the Class Average.
Apply Procedures to Develop Message, Input, and Dialog Boxes
Chapter 2 – Introduction to the Visual Studio .NET IDE
3.01 Apply Controls Associated With Visual Studio Form
Section 64 – Manipulating Data Using Methods – Java Swing
3.01 Apply Controls Associated With Visual Studio Form
Using Procedures and Exception Handling
Apply Procedures to Develop Menus, List Box and Combo Box Objects
VB 6.0.
User Forms.
Lesson Four: Building Custom Patient Lists
UserForm.
Tutorial 12 – Security Panel Application Introducing the Select Case Multiple-Selection Statement Outline Test-Driving the Security Panel Application.
Lesson Four: Building Custom Patient Lists
Visual programming Chapter 2: Events and Event Handling
Визуалды бағдарламалау ортасы.
P.J.Balakumaran, AP, Commerce CA, SNMV CAS
Module 8: Creating Windows-based Applications
Chapter 15: GUI Applications & Event-Driven Programming
Lesson 4: Epic Quick Appointment Scheduling
Visual C# - GUI and controls - 1
The University of Texas – Pan American
Lecture 5 Menu Strip Demo with Dialog Controls.
BASIC 17 Mr. Husch.
F T T T F.
Presentation transcript:

Custom dialog boxes Unit objectives Add a user form to your project and add controls to that user form Handle events attached to controls in a user form and validate the data entered by users

Topic A Topic A: User forms Topic B: Events

The UserForm window UserForm window Toolbox

Activity A-1 Adding a user form

Controls in Toolbox Label - displays text on a user form TextBox - accepts data from users CommandButton - performs actions ListBox - displays a list of values CheckBox - indicates if an option is selected or not OptionButton - represents a single option in a group ComboBox - a combination of a list box and a text box

Adding controls to a form

Adding controls to a user form Activity A-2 Adding controls to a user form

Adding controls to a user form (Movie)

Topic B Topic A: User forms Topic B: Events

UserForm object events Activate Deactivate Click DblClick Initialize Terminate

Common control events Change Click DblClick BeforeUpdate AfterUpdate

Attaching an event handler to a control Activity B-1 Attaching an event handler to a control

Validating data by using event handlers Activity B-2 Validating data by using event handlers

Unit summary Learned how to create a user form and add controls to it Learned how to handle events attached to controls and validate data entry