IS437: Spring 2006 Instructor: Dr. Boris Jukic Controls.

Slides:



Advertisements
Similar presentations
Pemrograman VisualMinggu …8… Page 1 MINGGU Ke Delapan Pemrograman Visual Pokok Bahasan: Graphical User Interface Tujuan Instruksional Khusus: Mahasiswa.
Advertisements

Microsoft Visual Basic: Reloaded Chapter Five More on the Selection Structure.
Chapter 3.1 Controls Programming In Visual Basic.NET.
Chapter 2 More Controls Programming In Visual Basic.NET.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 2 More Controls.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 03.
Copyright 2003 : Ismail M.Romi, PPU. All Rights Reserved 1 Lab2 Managing Controls.
Chapter 2 User Interface Design Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
CA 121 Intro to Programming Tariq Aziz and Kevin Jones GUI Programming in Visual Studio.NET Chapter 3 Tariq Aziz and Kevin Jones.
Compunet Corporation Programming with Visual Basic.NET GUI Chapter 3 Week 13 Tariq Aziz and Kevin Jones.
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.
110-C1 Chapter 2 of the text: _ text boxes, group boxes, check boxes, radio buttons, picture boxes _ defining access keys tab sequence setting the focus.
Access Ch 5 Review.
Controls General Discussion. VB Controls Visual Basic Controls A control is the generic name for any object placed on a form Controls may be images,
Lesson 8 Creating Forms with JavaScript
BIM313 – Advanced Programming Simple Controls 1. Contents Traditional Controls – Labels, Text Boxes, Buttons, Check Boxes, List Boxes, Combo Boxes Advanced.
XHTML Introductory1 Forms Chapter 7. XHTML Introductory2 Objectives In this chapter, you will: Study elements Learn about input fields Use the element.
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.
Chapter 2 User Interface Design Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Chapter 2 More Controls Programming in C#. NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
Clearly Visual Basic: Programming with Visual Basic 2008
Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 2 Creating a User Interface.
GUI Widgets Jeff Offutt SWE 432 Design and Implementation of Software for the Web.
Chapter 2 - More Controls More controls – Text boxes - used for user input – Frames - containers to group items – check boxes - user select an option -
CIS 338: VB.NET Components Dr. Ralph D. Westfall April, 2011.
Microsoft Visual Basic 2008: Reloaded Third Edition Chapter Five More on the Selection Structure.
Microsoft Visual Basic 2005 CHAPTER 4 Variables and Arithmetic Operations.
Controls in C++/CLI (2) CheckBox RadioButton GroupBox ListBox.
Graphical User Interfaces 2 Tonga Institute of Higher Education.
Chapter Two Designing Applications Programming with Microsoft Visual Basic th Edition.
Visual Basic.NET BASICS Lesson 3 Events and Code.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Visual Basic.net Textbox & Label Controls. Textbox Naming convention (txt) Primary use (user input) Can except numeric and character values.
Tutorial 51 Programming Structures Sequence - program instructions are processed, one after another, in the order in which they appear in the program Selection.
2-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Chapter 2 P. 1 Introducing more controls (on the Toolbox) (Fig. 2.1) - Text box - Frame - Option button - Check box - Image Example P. 44 Figure 2.2 Message.
Managing Controls Lab 2 2 All Rgihs ReservedIsmail M. Romi – PPu: IT DEpt.
More Controls and Their Properties Part 4 dbg --- TextBox, CheckBox, RadioButton, GroupBox, ToolTips,
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 20.1 Test-Driving the Shipping Hub Application.
Practical Programming COMP153-08S Week 5 Lecture 1: Screen Design Subroutines and Functions.
1.
More User Interface Controls User interface controls are located in the toolbox. Click the +/- signs to open/ close the different tabs of the tollbox.
McGraw-Hill © 2010 The McGraw-Hill Companies, Inc. All rights reserved. Chapter 2 User Interface Design.
2-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Chapter 2 User Interface Design.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Tutorial 18 – Student Grades Application Introducing.
McGraw-Hill/Irwin Programming in Visual Basic 6.0 © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Update Edition Chapter 2 More Controls.
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)
Form Components and Elements
HTML FORMS The TEXT Object Presented By: Ankit Gupta.
Copyright (c) 2003 by Prentice Hall Provided By: Qasim Al- ajmi Chapter 3 Some Visual Basic Controls and Events Visual Basic. NET.
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.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Chapter 2 More Controls Programming in C#. NET Objectives Use text boxes, group boxes, check boxes, radio buttons, and picture boxes effectively.
Microsoft Visual Basic 2012 CHAPTER FOUR Variables and Arithmetic Operations.
Word 2010 Text Basics In this lesson you'll learn the basics of working with text, including how to insert, delete, select, copy, cut, paste, and replace.
Chapter 2 More Controls Programming In C Shap. © Controls in the Toolbox.
Controls in C++/CLI (2) CheckBox RadioButton GroupBox and Panel.
COMPUTER PROGRAMMING I Apply Procedures to Develop List Box and Combo Box Objects.
Variables and Arithmetic Operations
CIS 16 Application Development Programming with Visual Basic
Brief description on how to navigate within this presentation (ppt)
Visual C# - GUI and controls - 1
Programming In Visual Basic.NET
Chapter 2 User Interface Design
Group Boxes, Radio buttons and Checked List Boxes
Presentation transcript:

IS437: Spring 2006 Instructor: Dr. Boris Jukic Controls

Learning objectives - Controls: text boxes radio buttons check boxes group boxes picture boxes - Some user-friendly features tab sequence (tabIndex, tabStop properties) focus method access key specification Controls can be enabled and disabled in Design Time

Text Boxes function: accept input from users important properties - Text (string of characters) - MultiLine (boolean: yes/no). I - ScrollBars - PasswordChar (if yes then appears masked) run-time property - SelectedText (text selected by user) e. g., text1.SelectedText methods: cut, copy, paste, clear

RadioButtons function: present mutually exclusive choices Examples male-female freshmen, sophomores, juniors, seniors important properties - Text - Checked (boolean) if a radio button is clicked, its Checked property is set to true, otherwise to false only one radio button in the choice set has its checked property set to true

RadioButtons: example

Check Boxes function: present independent choices Choices that are NOT mutually exclusive Example: product attributes perishable, imported, fragile important properties Text Checked (true or false)

Check Boxes: example If perishableCheckBox.checked = True Then ‘conduct procedures for Perishable Products... EndIf If importedCheckBox.checked = True Then ‘conduct procedures for Imported Products... EndIf If fragileCheckBox.checked = True Then ‘conduct procedures for Fragile Products... EndIf

GroupBox functions: (1) organize controls neatly (2) serve as container object - possible use: limit the scope of a set of radio buttons container objects: forms and groupboxes important properties: - Text

Some user-friendly features focus method tabStop (boolean) and TabIndex properties command buttons - keyboard access keys: for example E&xit - as AcceptButton or CancelButton of the form

Focus method Move the cursor to a particular textbox, e. g, Textbox2.focus

Tab stop & Tab Index

Access keys Alt + X

Accept & Cancel Button Designation AcceptButton and CancelButton are form properties. AcceptButton can be activated by the Enter key. CancelButton can be activated by the Escape key.

Disable controls set the Enabled property of a control to false during design-time during run-time e.g., command1.enabled = false