What is a Dialog box? A Dialog box is a window or “form” that contains other child windows or “controls” that have a specific appearances and pre-defined.

Slides:



Advertisements
Similar presentations
Step 7: Proper Screen-Based Control
Advertisements

Prof. Yitzchak Rosenthal
Chapter 3 Creating a Business Letter with a Letterhead and Table
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Schedule Collecting Data : Google Forms Chapter 13 Homework - Lab 1 Friday:
Foundation Level Course
© by Pearson Education, Inc. All Rights Reserved.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 3 1 Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional- Looking.
Microsoft PowerPoint ® 2003 Carl B. Struck Presentation Graphics n Educational, business, sales and other presentations (slide shows) n Combination of.
Introduction To Form Builder
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
Chapter 4: Working with Windows Types of Windows –Program Windows –Message Boxes –Dialog Boxes Elements of a Window –Window Panes –Scroll Bars –Menus –Tool.
Access Lesson 4 Creating and Modifying Forms
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
LOGO Chapter V Formattings 1. LOGO Overview  Conditional formatting  Working with tables  Filtering  Sorting  Freeze panes  Pivot tables  How to.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Lesson 4: Formatting the Worksheet
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
Excel Worksheet Basics Terminology Navigation The Ribbon 1 Nolan Tomboulian Tomboulian.wikispaces.com.
Key Applications Module Lesson 16 — Excel Essentials Computer Literacy BASICS.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
Chapter 12: Using Controls. Examining the IDE’s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton.
Java Software Solutions Lewis and Loftus Chapter 10 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Graphical User Interfaces --
Creating your own form from scratch.. To create a custom form, you can modify an existing form or design and create a form from scratch. In either case,
Microsoft Office Excel 2003 Tutorial 3 – Developing a Professional-Looking Worksheet.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
The Fundamentals of Using Windows 95. Windows 95 ã operating system that performs every function necessary for the user to communicate and control computer.
XP New Perspectives on Windows XP Tutorial 1 Exploring the Basics.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
PowerPoint Lesson 3 Working with Visual Elements
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
IC 3 BASICS, Internet and Computing Core Certification Key Applications Lesson 11 Organizing the Worksheet.
Exploring Windows and Essential Computing Concepts 1 Windows Desktop u Windows Basics u Icon u Start Button u My Computer u Network Neighborhood u Recycle.
Basic Editing Lesson 2.
© 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.
Introduction to Microsoft publisher
Chapter 2 – Introduction to the Visual Studio .NET IDE
Chapter 4 Working with Frames. Align and distribute objects on a page Stack and layer objects Work with graphics frames Work with text frames Chapter.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
By Felixberto Dominic B. Eruela.  Using a computer to create, edit, and print documents. Of all computer applications, word processing is the most common.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Win32 Controls & ActiveX Integration In this presentation… –Introduction to the new Win32 controls. What they are? How they are enabled? Potential uses.
User Interface Components Lecture # 5 From: interface-elements.html.
Copyright © 2015 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 13 GUI Programming.
Object-Oriented Application Development Using VB.NET 1 Chapter 10 VB.NET GUI Components Overview.
© 2011 Delmar, Cengage Learning Chapter 4 Working with Frames.
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
Selection Controls. A selection control presents on the screen used to select possible alternatives, conditions, or choices, or value. The relevant item.
Windows 95/NT/XP. What is Windows 95/NT/XP n A program that sets up an environment for you to work in on your computer, based on colorful pictures (icons)
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Mr. Munaco Computer Technology TEACHING ADVANCED WORD 2007.
Web Site Development - Process of planning and creating a website.
GUI Controls for Input Design Introduction –Most new applications being developed today include a GUI. This approach is influenced by a new trend in.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 4 Inserting.
PowerBuilder Window Window Controls Window Properties Window Types
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Chapter 11 Collaboration Features for Workbooks Microsoft Excel 2013.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
MS WORD INFORMATION TECHNOLOGY MANAGEMENT SERVICE Training & Research Division.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
User Interface Components
Chapter 2 – Introduction to the Visual Studio .NET IDE
Lesson 2 Tables and Charts
Chap 7. Building Java Graphical User Interfaces
Graphical User Interfaces -- Introduction
Chapter 2 – Introduction to the Visual Studio .NET IDE
COMMON CONTROLS A control is a child window that an application uses in conjunction with another window to enable user interaction. Controls are most often.
Wells Fargo Toolkit – CreativeBuilder Reference Guide
Welcome To Microsoft Word 2016
Presentation transcript:

What is a Dialog box? A Dialog box is a window or “form” that contains other child windows or “controls” that have a specific appearances and pre-defined behaviors. In many cases the appearance and behaviors of these controls can be modified by a program to enhance the usability of the control. The use of a dialog box can be as simple as displaying a warning message or it can be complex enough to represent an entire application. It’s all up to the programmer.

Dialog Styles There are currently two basic techniques you can use to render a dialog with Comet. –A popup dialog Standalone Usually modal Best for simple message exchange but can also be used for complex user input. –A embedded dialog Child of the “view” window Always modeless Best for complex forms with many fields.

Popup Dialog A typical popup dialog contains a title bar, a system menu and user controls. It is modal in that the parent window (COSW or another dialog) is disabled and will remain so until the dialog is destroyed. The underlying screen may still be visible under the dialog. A popup dialog can contain a complex set of controls or it can display a simple message.

Fitting it all in – Tabbed Dialogs Most applications manage far more data than can be displayed on the screen. For legacy Comet applications the solution to this problem is to break up the data into manageable groups and then display each group separately from the others. While this technique can also used in a windowed application, there are better ways to handle this problem. A “tabbed” dialog is a dialog that contains a tab control that looks and behaves in a manner similar to a notebook or binder. The user simply clicks on a “tab” and the “page” associated with that tab is displayed in the display area of the tab control. The display area inside the tab window contains the fields that pertain to a group of related fields. In the past, all of the controls for every tab had to be individually show, hidden, and maintained based upon the tab that was clicked. This is no longer the case.

Tabbed Dialog Layout A typical tabbed dialog will contain a tab control that will define the area that each page will be share. In addition, the dialog will contain other controls that are common to all of the pages the dialog will support.

Embedded Dialog A embedded dialog appears to be integrated directly into the COSW “view” window. This technique can provide seamless transitions from a legacy Comet application to a windowed application. There are two ways to display a embedded dialog. The first is to size the COSW window to fit the dialog. Because the user will see the window size change this is the least attractive of the two. The second is to leave COSW as is and blend the dialog into the existing window (preferred). The only “catch” to this method is that the window must already be large enough to contain the entire dialog.

What kind of Controls does Comet Support? The following controls are currently supported by Comet: –Buttons including PushButtons, RadioButtons, and CheckBoxes. –Static Text –Edit –GroupBox –ListBox –ComboBox –ScrollBar –Spin –Progress –Tab –Picture –IPAddress –ListView –TreeView –DateTimePicker –MonthCalendar

PushButton Control The PushButton control is a round-cornered rectangle containing text. The text is centered in the control. The control sends a message to its parent whenever the user chooses the control.

RadioButton Control RadioButtons are used to select one of several options, usually within a dialog box. A radio button contains a small circle with text next to it. When selected, the circle has a smaller, filled circle inside it. Selecting one button in a set deselects the previously selected button, so only one of the options in the set is selected at a time.

CheckBox Control The CheckBox control is a small rectangle (check box) that has the specified text displayed next to it (typically, to the right). When the user selects the control, the control highlights the rectangle and sends a message to its parent window.

StaticText Control The StaticText control provides a convenient way to display text on dialog boxes and other windows. Static text controls often serve as labels for other controls.

GroupBox Control The GroupBox control is a rectangle that groups other related controls together. The controls are grouped by drawing a border around them and displaying the given text in the upper-left corner.

Edit Control The Edit control is a rectangular control window typically used in a dialog box to permit the user to enter and edit text by typing on the keyboard.

ListBox Control The ListBox control is a rectangle containing a list of strings (such as filenames) from which the user can select. The ListBox can be restricted to one selection at a time or it can allow multiple selections.

ComboBox Control The ComboBox control consists of either a static text box or an edit box combined with a list box. The list box can be displayed at all times or pulled down by the user. If the combo box contains a static text box, the text box always displays the selection (if any) in the list box portion of the combo box. If it uses an edit box, the user can type in the desired selection; the list box highlights the first item (if any) that matches what the user has entered in the edit box. The user can then select the item highlighted in the list box to complete the choice.

ScrollBar Control The ScrollBar control is a rectangle that contains a scroll box and has direction arrows at both ends. The scroll-bar control sends a notification message to its parent whenever the user clicks the mouse in the control. The parent is responsible for updating the scroll-box position. Scroll-bar controls can be positioned anywhere in a window and used whenever needed to provide scrolling input.

Slider Control A slider control, also called a trackbar control, lets a user select from a range of values by moving a slider. The volume controls in the Windows operating system are slider controls.

Spin Control A Spin control (also known as an up-down control) is a pair of arrow buttons that the user can click to increment or decrement a value, such as a scroll position or a number displayed in a companion control. The value associated with a spin button control is called its current position. A spin button control is most often used with a companion control, called a "buddy window."

Progress Control A Progress control is a window that an application can use to indicate the progress of a lengthy operation. It consists of a rectangle that is gradually filled with the system highlight color as an operation progresses.

Tab Control A Tab control defines multiple pages for the same area of a window or dialog box. Each page consists of a set of information or a group of controls that an application displays when the user selects the corresponding tab.

Picture Control A Picture control allows the user to display a picture in your dialog. The developer can specify a bitmap or icon resource to be displayed in the control. The picture control can also be used to provide etched vertical and horizontal lines or a frame around other controls.

IPAddress Control The IP address control allows the user to enter a numeric address in Internet protocol (IP) format. This format consists of four three-digit fields. Each field is treated individually; the field numbers are zero- based and proceed from left to right. For Comet users this control is pretty useless.

ListView Control The ListView control displays a collection of items each consisting of an optional icon (from an image list) and a label. In addition to an icon and label, each item can have information displayed in columns to the right of the icon and label. In “report view” each item appears on its own line, with additional information arranged in columns to the right. The leftmost column contains the small icon and label, and subsequent columns contain subitems as specified by the application. Currently Comet does not support icons in a ListView control.

TreeView Control A TreeView control is a window that displays a hierarchical list of items, such as the headings in a document, the entries in an index, or the files and directories on a disk. Each item consists of a label and an optional bitmapped image, and each item can have a list of subitems associated with it. By clicking an item, the user can expand and collapse the associated list of subitems. Currently Comet does not support bitmaps in a ListView control.

DateTimePicker Control The DateTimePicker control provides a simple interface to exchange date and time information with a user. This interface contains fields, each of which displays a part of the date and time information stored in the control. The user can change the information stored in the control by changing the content of the string in a given field. The user can move from field to field using the mouse or the keyboard.

MonthCalendar Control The month calendar control provides the user with a simple calendar interface, from which the user can select a date. The user can change the display by scrolling backward and forward, from month to month.