IMS 3253: Controls 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Check Boxes Radio Buttons Date Time Picker Masked.

Slides:



Advertisements
Similar presentations
Module 2 Navigation.     Homepage Homepage  Navigation pane that holds the Applications and Modules  Click the double down arrow on the right of.
Advertisements

1. Chapter 29 Creating Forms 3 Understanding Forms Word enables you to create fill-in forms to eliminate the need for storing pre-printed forms. Add.
® Microsoft Office 2010 Word Tutorial 1 Creating a Document.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
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.
Chapter 4: Configuring the Windows Vista Desktop.
Creating Web Page Forms
CST JavaScript Validating Form Data with JavaScript.
Chapter 8: String Manipulation
BIM313 – Advanced Programming Simple Controls 1. Contents Traditional Controls – Labels, Text Boxes, Buttons, Check Boxes, List Boxes, Combo Boxes Advanced.
Defining Styles and Automatically Creating Table of Contents and Indexes Word Processing 4.03.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Exploring Microsoft Office Word 2007 Chapter 7 The Advanced User Robert Grauer, Keith Mulbery,
Learning Microsoft Excel Getting Started  There are three features that you should remember as you work within PowerPoint 2007: the Microsoft Office.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Six Repeating Program Instructions.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 21 Fields and Forms.
Creating a Web Site to Gather Data and Conduct Research.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
CHƯƠNG 3 Finding, Filtering, and Formatting Data.
WORKBOOK FORMATTING Nolan Tomboulian Tomboulian.wikispaces.com HOW THINGS LOOK CELL COLORFONT COLOR CELL BORDERSFONT SIZE CELL SIZEFONT.
Basic Controls & Properties Chapter 2. Overview u VB-IDE u Basic Controls  Command Button  Label  Text Box  Picture Box u Program Editor  Setting.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
ListBox, ComboBox, Menu Chapter 5.4, ComboBox Control: Properties & Methods u Combines TextBox features with a short drop- down list  cboOne.AddItem(string)
1. Chapter 4 Customizing Paragraphs 3 More Paragraph Changes Highlight a paragraph in Word by applying borders and shading. Sort paragraphs to control.
S511 Session 7, IU-SLIS 1 DB Implementation: MS Access Forms.
JavaScript, Fourth Edition Chapter 5 Validating Form Data with JavaScript.
Working with option button, check box, and list box controls Visual Basic for Applications 13.
COMPREHENSIVE Access Tutorial 6 Using Form Tools and Creating Custom Forms.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
Introduction to HTML Part 3 Chapter 2. Learning Outcomes Identify how to design frames. Explain frames’ attributes. Describe the method on designing forms.
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”
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
WaveMaker Visual AJAX Studio 4.0 Training Basics: Building Your First Application Designer Basics.
DB Implementation: MS Access Forms. MS Access Forms  Purpose Data entry, editing, & viewing data in tables Forms are user-friendlier to end-users than.
Microsoft FrontPage 2003 Illustrated Complete Creating a Form.
1 HTML Forms
CHAPTER:07 JAVA IDE PROGRAMMING-II Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Microsoft Access 2000 Presentation 3 Creating Databases Part II (Creating Forms)
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.
Object-Oriented Application Development Using VB.NET 1 Chapter 10 VB.NET GUI Components Overview.
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.
IMS 4480: Introduction to Web Services 1 Dr. Lawrence West, MIS Dept., University of Central Florida Introduction to Web Services—Topics.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
7-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al- ajmi Chapter 3 Some Visual Basic Controls and Events Visual Basic. NET.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
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.
TIU Note Templates. Learning Objectives Discuss Human Factor Internationals (HFIs) recommendations for Text Integration Utility (TIU) Templates Become.
Key Applications Module Lesson 22 — Managing and Reporting Database Information Computer Literacy BASICS.
Variables and Expressions Programming Right from the Start with Visual Basic.NET 1/e 7.
IMS 3253: Forms, Controls, Properties, Events 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Program Elements Assignment.
Microsoft Access Prepared by the Academic Faculty Members of IT.
GUI Controls for Input Design Introduction –Most new applications being developed today include a GUI. This approach is influenced by a new trend in.
IMS 3253: Validation and Errors 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Validation and Error Handling Validation.
Learning Aim C.  In this section we will look at how text, tables, forms and frames can be used in web pages.
MICROSOFT WORD PRESENTATION. Word Processing  Software that is designed for the entry, editing, and printing of documents.  Windows Version = Microsoft.
Visual Basic/ Visual Studio Brandon Large. Connecting to prior knowledge In your notes write down what the two main parts of the computer are. The “software”
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.
DB Implementation: MS Access Forms. MS Access Forms: Purpose Data entry, editing, & viewing data in Tables Forms are user-friendlier to end-users than.
E-Commerce: Introduction to ASP.Net Application Architecture 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics.
Building a User Interface with Forms
DB Implementation: MS Access Forms
DB Implementation: MS Access Forms
CIS 16 Application Development Programming with Visual Basic
Welcome To Microsoft Word 2016
Presentation transcript:

IMS 3253: Controls 1 Dr. Lawrence West, MIS Dept., University of Central Florida Topics Check Boxes Radio Buttons Date Time Picker Masked Text Box List Boxes Combo Boxes Spinner Control “Those parts of a computer you can hit with a hammer are called hardware; those program instructions you can only curse at are called software” Unknown

IMS 3253: Controls 2 Dr. Lawrence West, MIS Dept., University of Central Florida Check Boxes Check boxes enable the user to indicate a single “Boolean” (Yes or No) state by checking or unchecking the box The control’s Checked property will be read as either True or False The CheckChanged event executes if the box state is changed by the user or in code The Text property provides a label and a hot key –Selecting the hot key toggles the checked status of the box All check boxes act independently

IMS 3253: Controls 3 Dr. Lawrence West, MIS Dept., University of Central Florida Radio Buttons Radio buttons belong to a group –All buttons directly on the face of the form belong to the same group –All radio buttons in the same group box are in the same group Only one button in a group may be pressed at a time Selecting one in a group unselects all others –All button CheckChanged events execute The Checked property indicates whether checked or not

IMS 3253: Controls 4 Dr. Lawrence West, MIS Dept., University of Central Florida Date Time Picker Control Presents a calendar that lets user find a date easily Value property contains the selected date, including the current time as a datetime data type Text property is a string representation of the Value (not available at design time) Default Value is current system clock time May set value in code Other date formats are available ValueChanged event is the default event Very useful with date-time functions (later)

IMS 3253: Controls 5 Dr. Lawrence West, MIS Dept., University of Central Florida Masked Text Box Provides various predefined as well as custom formats to force user input into a “mask” Typing forces characters into available mask spaces Control also validates input –No letters allowed in the Phone Number mask Selecting control and then properties arrow gives quick access to mask dialog –Many controls have this quick access feature

IMS 3253: Controls 6 Dr. Lawrence West, MIS Dept., University of Central Florida Masked Text Box (cont.)

IMS 3253: Controls 7 Dr. Lawrence West, MIS Dept., University of Central Florida Masked Text Box (cont.) TextMaskFormat property determines if mask characters are included in the Text property of the control –Default is IncludeLiterals (they are) –You may wish to use ExcludePromptAndLiterals Same behavior for CutCopyMaskFormat property

IMS 3253: Controls 8 Dr. Lawrence West, MIS Dept., University of Central Florida List Boxes and Como Boxes All of the properties and methods illustrated in code for the list box form work on combo boxes as well –Reading –Adding & removing items –Setting selected item Code User selection –Sorting Text property gives access to current text

IMS 3253: Controls 9 Dr. Lawrence West, MIS Dept., University of Central Florida Adding List Items at Design Time Add the control Select the Items property in property window OR Select the properties arrow on the control & choose “Edit Items” Add one item per line in the edit window –These items will be the initial contents of the list or combo

IMS 3253: Controls 10 Dr. Lawrence West, MIS Dept., University of Central Florida Adjusting List Items at Run Time ControlName.Items.Add(value) –Adds value to the end of the list ControlName.Items.Insert(index, value) –Adds the value into the list position specified by index –Other items are pushed upwards to make room ControlName.Items.RemoveAt(index) –Removes the item in the index location –Other items are moved downward to fill in

IMS 3253: Controls 11 Dr. Lawrence West, MIS Dept., University of Central Florida List Items Properties ControlName.Items.Count –Number of items in the list (1-based counting).SelectedIndex –Index in the list of the item that is selected –Zero-based numbering If there are five items in the list –The.Count property = 5 –The items are indexed as 0 – 4 –This approach is used for any collection in.Net

IMS 3253: Controls 12 Dr. Lawrence West, MIS Dept., University of Central Florida List & Combo Box Behavior List and Combo boxes will add vertical scroll bars when needed—allow enough width if contents are wide List boxes and Simple combo boxes are always open List boxes and DropDownList style combo boxes do not allow users to type in a value—must select DropDown and Simple style combo boxes allow the user to enter a value not in the list

IMS 3253: Controls 13 Dr. Lawrence West, MIS Dept., University of Central Florida Group Boxes Uses –Provide visual grouping of controls with a common caption –Allow a group of controls to be enabled or disabled or turned visible or invisible in one step –Allow you to create multiple independent groups of radio buttons Text property labels the group box –I suggest a leading and trailing space so frame doesn’t pinch the text

IMS 3253: Controls 14 Dr. Lawrence West, MIS Dept., University of Central Florida Numeric UpDown (Spinner) Control Allows user to select a numeric value using the up/down arrows Useful properties: –Value—currently displayed number –Maximum and Minimum—smallest and largest values spinner will reach –Decimal places –Increment ValueChanged is most useful event Use together to create a fractionally incrementing spinner