ListBox, ComboBox, Menu Chapter 5.4, 12.1. ComboBox Control: Properties & Methods u Combines TextBox features with a short drop- down list  cboOne.AddItem(string)

Slides:



Advertisements
Similar presentations
Writing and Editing Tools Lesson 6. Objectives 1. Use AutoComplete, AutoCorrect, AutoText, and smart tags. 2. Check spelling and grammar. 3. Use the Thesaurus.
Advertisements

Working with Intrinsic Controls and ActiveX Controls
Review for Excel Chapter 1
Objectives © Paradigm Publishing, Inc. 1 Objectives.
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
1 Visual Basic Programming II Lecture 3 MIS233 Instructor – Larry Langellier.
Click your mouse to continue Menu Conventions A check mark option is a toggle or “on-off” switch (like a light switch) that is either checked (turned on)
1 Lab6 Lab6 ComboBox Control Properties, Methods and Events.
Programming Based on Events
Lab4 ListBox Control Properties, Methods and Events.
VB Default Controls List Box, Combo Box
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.
Group Boxes and Panels Arrange components on a GUI Buttons and etc. can be placed inside a group box or panel. All these buttons move together when the.
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.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab5 ListBox Control Properties, Methods and Events.
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.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 3 Tariq Aziz and Kevin Jones.
Basic Editing Lesson 2- Part 2. Navigating and Searching Through a Document Find command options, the mouse, scroll bars, and various keystroke and keyboard.
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
®® Microsoft Windows 7 for Power Users Tutorial 2p2 Customizing Microsoft Windows 7.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Chapter 2 Querying a Database
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Ten String Manipulation and Menus.
Chapter 8: String Manipulation
BIM313 – Advanced Programming Simple Controls 1. Contents Traditional Controls – Labels, Text Boxes, Buttons, Check Boxes, List Boxes, Combo Boxes Advanced.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
Learning Microsoft Excel Getting Started  There are three features that you should remember as you work within PowerPoint 2007: the Microsoft Office.
1 Graphical User Interfaces Part 2 Outline ListBoxes and CheckedListBoxes ListBoxes CheckedListBoxes ComboBoxes.
110 M - 1 ListBoxes & ComboBoxes Provide a list for the user to select from Various styles, choose based on –Amount of data to be displayed –Space available.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Typing Application Introducing Keyboard Events, Menus, Dialogs and the Dictionary.
Microsoft Word 2000 Presentation 5. Major Word Topics Columns Tables Lists.
CIS 200 Test 02 Review. Windows Forms, GUI Programming  Elements  Textboxes  Tab Groups  Checkboxes  Fields  Event Handlers  Visual Studio Designer.
Mouse Events. Mouse Driven Events Unlike control_click() which is passed no arguments (unless it's an index for an array), MouseDown, MouseUp and MouseMove.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
CIS 338: VB.NET Components Dr. Ralph D. Westfall April, 2011.
Productivity Programs Common Features and Commands.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Chapter 9 - VB.Net by Schneider1 Chapter 9 – Additional Controls and Objects 9.1 List Boxes, Combo Boxes, and the File-Opening Control The List Box Control.
© 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.
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.
Chapter Two Designing Applications Programming with Microsoft Visual Basic th Edition.
Lesson 2 Basic editing Word 2013.
© 1999, by Que Education and Training, Appendix A, pages of Introduction to Computer Programming with Visual Basic 6: A Problem-Solving Approach.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 17 – Flag Quiz Application Introducing One-Dimensional.
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.
1. Chapter 3 Aligning and Indenting Paragraphs 3 Paragraphs in Word A paragraph in Word is any amount of text followed by the press of the Enter key.
Programming with Microsoft Visual Basic 2008 Fourth Edition Chapter Eight String Manipulation.
Microsoft Access 2010 Chapter 4 Creating Reports and Forms.
Chapter 7 - Lists, loops and printing w List boxes and combo boxes several types can add items at design time or during run time user select from predefined.
Menus Menus provide groups of related commands for windows applications Menu, menu items, submenus A menu item that contains a submenu is considered to.
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.
Chapter 3 Automating Your Work. It is frustrating when you have to type the same passage of text repeatedly. For example your name and address. Word includes.
7-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Controls. Common properties Height – Height of the control Left – Left of the control Width – width of a control Top - From the screen top Font – Foreground.
AdditionalControls 1. The MenuStrip 2 Double-click Let’s begin to design the menu bar for VB! Let’s begin to design the menu bar for VB! 3.
Iterations (aka Loops). 2 Loops Loops (iterations) are segments of code that may be executed several times. Fixed-count (definite) loops repeat a fixed.
Variables and Expressions Programming Right from the Start with Visual Basic.NET 1/e 7.
IMS 3253: Controls 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Check Boxes Radio Buttons Date Time Picker Masked.
Iterations (aka Loops). 2 Loops Loops (iterations) are segments of code (loop body) that may be executed several times. Fixed-count (definite) loops repeat.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
COMPUTER PROGRAMMING I Apply Procedures to Develop List Box and Combo Box Objects.
Lesson 13 Tables. Overview Create a table. Key and edit text in tables. Select cells, rows, and columns. Edit table structures. Format tables and cell.
Menu & Clipboard Menu Cut / Copy / Paste. Menus Created in the Menu Editor Can contain menu titles, menu items, separator bars, submenu titles, and submenu.
Excel Tutorial 8 Developing an Excel Application
Introduction to Problem Solving and Control Statements
Presentation transcript:

ListBox, ComboBox, Menu Chapter 5.4, 12.1

ComboBox Control: Properties & Methods u Combines TextBox features with a short drop- down list  cboOne.AddItem(string) u List  Strings displayed in the ComboBox, as an array  cboOne.List(3) u ListCount  Contains the number of list items u ListIndex  Index of the selected item

ComboBox Control Properties & Methods u Locked  When True user can not type data in the ComboBox u Sorted  When True items in the list are sorted u RemoveItem  Removes an item from list u Clear  Removes all items from the list

ComboBox Styles u DropDown  Allows user entry u Simple  Visual appearance of a textbox  Items are listed by arrow keys  Allows user entry u DropDownList  Does not allow user entry  Fast movement to an item by first character

ListBox Control u Let user to view a list of items u Allow user to select one or more items  lstOne.AddItem(string) u List  Strings displayed in the list, in an array like form  lstOne.List(3) u ListCount  Contains the number of list items u ListIndex  Index of the selected item  What if more than one item is selected?

ListBox Control: Properties & Methods u Selected  Array of Boolean values  Each is set to true only if the corresponding element is selected u MultiSelect  Specifies whether user can select more than one item u SelCount  Number of list items selected u Sorted  When True items in the list are sorted u RemoveItem  Removes an item from list u Clear  Removes all items from the list

ListBox Styles u None  Does not allow multiple selection u Simple  Allows multiple selection  Selection is done by mouse or Space bar u Extended  Allows multiple selection  Selection is done by mouse or Space bar  Holding the Shift key and selecting an item selects all items between the last selection and the current selection

Menu Editor u There are 3 ways to start menu editor:  Click the Menu Editor button on the toolbar  Choose Tools/Menu Editor  Press Ctrl+E u Each line of text in a menu is a Menu Control

Menu Control Properties u Caption  Actual text displayed in the menu item u Name  Unique identifier used by the program u Index  Used if menu item is part of a control array u Shortcut  Key combinations can be set for shortcuts u Checked  When true, a check mark appears to the left of menu item

Menu Editor Example