CECS 5020 Computers in Education Forms and Menus.

Slides:



Advertisements
Similar presentations
Prof. Yitzchak Rosenthal
Advertisements

VISUAL BASIC Visual Basic is derived from the Basic language (Beginner’s All-Purpose Symbolic Instruction Code) Visual Basic uses an event-driven programming.
COM: 111 Introduction to Computer Applications Department of Information & Communication Technology Panayiotis Christodoulou.
Using Macros and Visual Basic for Applications (VBA) with Excel
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
COMPREHENSIVE Windows Tutorial 3 Personalizing Your Windows Environment.
Introduction to Visual Basic Programming. Lecture Outline History What is Visual Basic First Look at the VB 6.0 Environment Some VB Terminology Our first.
Windows Dr. Basel Mahafzah. Network Neighborhood Double-clicking on this icon opens the Network Neighborhood window, which displays icons representing.
Slide 1 Forms v Parts of a form v Form: Program User Interface v Controls are contained inside forms v Control event handlers are contained inside forms.
MDI windows Single-document-interface (SDI)
CVEV 118/698 Visual Basic Lecture 3 Prof. Mounir Mabsout Elsa Sulukdjian Walid El Asmar.
MENUS AND THE MENU EDITOR Elements of a Menu Menu bar Menu title Separator bar Menu items.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Creating Menu. Objectives Create a menu system for a form –Create a menu –Create a menu titles –Create a menu items –Create a submenu –Modify menu –Edit.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab8 Working with Forms Forms Collection Multiple Forms.
Using Dreamweaver getting started 1)Start in your “My Documents” folder 2)Create a new folder called “website” 3)Create a sub folder called “images” 4)Start.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Chapter 8: String Manipulation
Programming with Microsoft Visual Basic th Edition
Neal Stublen Practice Solution  Create a new solution  Add a WinForms project  Add a Class Library project  Reference the library.
UBUNTU - Desktop Panel by default is across the top Applications menu Quick Launch icons Notification area Clock Shut Down Task Bar by default is on the.
CIS 338: Creating ActiveX Controls Dr. Ralph D. Westfall March, 2003.
Dr Dat Tran - Week 4 Lecture Notes 1 MenuStrip Programming Graphical User Interfaces PG (7110) University of Canberra School of Information Sciences &
Multiple Forms, Standard Modules, And Menus
MDI vs. SDI MDI – Multiple Document Interface SDI – Single Document Interface In an SDI application, each form acts independently of the others. A MDI.
Tutorial 1: An Introduction to Visual Basic.NET1 Tutorial 1 An Introduction to Visual Basic.NET.
Microsoft Word 2000 Presentation 5. Major Word Topics Columns Tables Lists.
Chapter 5 Menus, Common Dialog Boxes, and Methods Programming in C#.NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Working with Menus and Dialog Boxes. 2 Objectives You will be able to Create and edit menus for Windows Forms applications. Write code to handle menu.
Irwin/McGraw-Hill © The McGraw-Hill Companies, Inc., Visual Basic Projects Project Structure and VB’s Programming Tools chapter TWO.
Copyright © 2001 by Wiley. All rights reserved. Chapter 2: Using Visual Basic to Create a First Project Getting Started with VB Development Environment.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 7 Using Menus, Common Dialogs, Procedures, Functions, and Arrays.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 13 – Graphical User Interfaces Part 2 Outline.
Graphical User Interface Concepts - Part 2 Session 09 Mata kuliah: M0874 – Programming II Tahun: 2010.
 Application – another name for a program.  Interface – is what appears on the screen when the application is running.  Program Code – is instructions.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Microsoft Visual Basic 2012 CHAPTER THREE Program Design and Coding.
Instructor’s Guide to Teaching SolidWorks Software Lesson 1 School’s Name Teacher’s Name Date.
Introduction It is developed to create software applications. It is a tool for developers of any program that uses both basic and expert settings. It.
Working with the VB IDE. Running a Program u Clicking the”start” tool begins the program u The “break” tool pauses a program in mid-execution u The “end”
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lesson 1 Introduction.
CS130 Project 1 A simple VB application ("project" or program): user enters amount of sales then clicks the "Calculate button", the application displays.
3.9 to  Also refer to as Program  Contains set of instructions that tells the computer how to perform specific task.  Each line of code is referred.
Visual Basic CDA College Limassol Campus Lecture:Pelekanou Olga Semester C Week - 1.
Lab 0 / Chapter 0 Windows XP Environment. 2 User Interfaces: A different perspective.
Lesson 3 — Menus, MDIs, and Simple Loops Microsoft Visual Basic.NET, Introduction to Programming.
Class 2 Remote Instruction Review of Working with Buttons EDU 556 Programming for Instruction Dr. Steve Broskoske This is an audio PowerCast. Make sure.
Slide 1 Using Menu Bar & Common Dialog Boxes. Slide 2 Setting Up the Main Items v First open the form on which you want the menu located v Then start.
1 Visual Basic Part I - A tool for customizing your program Principles of GIS
Chapter 1 Getting Started with Adobe Photoshop CS4.
Word Processor Version.2. Methods Visual Basic is –Object Oriented –Event Driven Objects –Properties –Methods.
Creating Menus Menu Bar – behaves like standard Windows menus Can be used in place of or in addition to buttons to execute a procedure Menu items are controls.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al-ajmi Chapter 2 Introduction to Visual Basic Programming Visual Basic.NET.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Compunet Corporation Programming with Visual Basic.NET Working with Menus and Dialog Boxes Week 14 Tariq Aziz and Kevin Jones.
Compound Data Types Part13dbg. 2 Point A Point is a simple built-in struct that stores a pair of screen coordinates. Instantiate a Point: Point aPoint.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
Menu & Clipboard Menu Cut / Copy / Paste. Menus Created in the Menu Editor Can contain menu titles, menu items, separator bars, submenu titles, and submenu.
School’s Name Teacher’s Name Date
Multiple Forms and Menus
Windows Tutorial 3 Personalizing Your Windows Environment
SDI & MDI SDI -> Single Document Interface
Chapter 1: An Introduction to Visual Basic 2015
1. Introduction to Visual Basic
Instructor’s Guide to Teaching SolidWorks Software Lesson 1
Standard Controls.
Event Driven Programming
Visual Basic Menu Editor
Chapter 4 Enhancing the Graphical User Interface
Presentation transcript:

CECS 5020 Computers in Education Forms and Menus

CECS 5020 Types of Forms u Single Document Interface –One document at a time u Multiple Document Interface –More than one document at a time –“Child” forms on the MDI form are constrained to stay inside the MDI form

CECS 5020 Experiment with SDI and MDI Forms u Create two forms, Form1 and Form2, both of which have their “MDI Child” properties set to False u Add a line to Form1’s Load event to show Form2 (“Form2.Show”)

CECS 5020 Creating a MDI Form u Add a new MDI form (Project/Add MDI Form) u Set the MDI Child property of Form 2 to “True” u Run the program and see how Form 2 behaves when you resize it and move it outside of the MDI form’s boundaries u Note how Form 1 behaves also

CECS 5020 Form Properties u Caption u Icon u Height, Width, Left, Top u Background Color u MouseIcon, MousePointer (99 for custom) u StartUp Position u WindowState

CECS 5020 Form Events u Resize –Use this event to re-size child controls or forms u Click u MouseMove u Load u Unload

CECS 5020 Code a Form Event u Create a new project with an MDI Form and a child form u Code the MDI Form’s Resize event to resize the child form to 1/2 the size of the MDIForm Private Sub MDIForm_Resize() Form1.Width = MDIForm1.Width / 2 Form1.Height = MDIForm1.Height / 2 End Sub

CECS 5020 Menus u Menu Editor –Creates hierarchical menus –Captions that are only - (hyphen) create separator bars –Shortcut keys are created by putting an ampersand before the letter that is the shortcut »&File »E&xit

CECS 5020 Creating a Menu for Your Project u Tools/Menu Editor u &File »&New »&Open »E&xit –&Edit –&Help