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

Slides:



Advertisements
Similar presentations
Information System Design Lab 5&6. User Interface Design.
Advertisements

CSCI 3328 Object Oriented Programming in C# Chapter 10: Graphical User Interfaces with Windows Forms 1 Xiang Lian The University of Texas – Pan American.
Pemrograman VisualMinggu …2… Page 1 MINGGU Ke Dua Pemrograman Visual Pokok Bahasan: Console Application Tujuan Instruksional Khusus: Mahasiswa dapat menjelaskan.
Pemrograman VisualMinggu …5… Page 1 MINGGU Ke Lima Pemrograman Visual Pokok Bahasan: Control Statement II Tujuan Instruksional Khusus: Mahasiswa dapat.
Pemrograman VisualMinggu …7… Page 1 MINGGU Ke Tujuh Pemrograman Visual Pokok Bahasan: Arrays Tujuan Instruksional Khusus: Mahasiswa dapat menjelaskan.
Pemrograman VisualMinggu …3… Page 1 MINGGU Ke Tiga Pemrograman Visual Pokok Bahasan: Class, Objects, Methods and Instance Variable Tujuan Instruksional.
Pemrograman VisualMinggu …12… Page 1 MINGGU Ke Duabelas Pemrograman Visual Pokok Bahasan: File and Stream Tujuan Instruksional Khusus: Mahasiswa dapat.
Pemrograman VisualMinggu …4… Page 1 MINGGU Ke Empat Pemrograman Visual Pokok Bahasan: Control Statement I Tujuan Instruksional Khusus: Mahasiswa dapat.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
Microsoft Visual C#.NET: From Problem Analysis to Program Design1 Chapter 9 Programming Based on Events Microsoft Visual C#.NET: From Problem Analysis.
C# Programming: From Problem Analysis to Program Design1 9 Programming Based on Events.
C# Programming: From Problem Analysis to Program Design1 Programming Based on Events C# Programming: From Problem Analysis to Program Design 3 rd Edition.
Graphical User Interface (GUI) A GUI allows user to interact with a program visually. GUIs are built from GUI components. A GUI component is an object.
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.
Programming Based on Events
1 Pertemuan 02 Visual Basic Environment and Control Matakuliah: D0524 / Algoritma dan Pemrograman Komputer Tahun: 2005 Versi:
List-based Controls. Slide 2 Introduction There are several controls that work with lists ComboBox ListBox CheckedListBox.
GUI-Labels, TextBoxes and Buttons Label- displays read-only text Label- displays read-only text Common properties: Common properties: Font – font used.
BIM313 – Advanced Programming Simple Controls 1. Contents Traditional Controls – Labels, Text Boxes, Buttons, Check Boxes, List Boxes, Combo Boxes Advanced.
Pemrograman VisualMinggu …12… Page 1 MINGGU Ke Duabelas Pemrograman Visual Pokok Bahasan: Exception Handling Tujuan Instruksional Khusus: Mahasiswa dapat.
1 Graphical User Interfaces Part 2 Outline ListBoxes and CheckedListBoxes ListBoxes CheckedListBoxes ComboBoxes.
CSCI 3327 Visual Basic Chapter 10: Windows Forms GUI: A Deeper Look UTPA – Fall 2011.
CIS 115 Lecture 3.  Forms  Form properties  Controls  Control properties  Event Driven Programming  Form Events  Control Events  Event Handlers.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
1 Web-Enabled Decision Support Systems Windows Forms and Controls Prof. Name Position (123) University Name.
Chapter 12: Using Controls. Examining the IDE’s Automatically Generated Code A new Windows Forms project has been started and given the name FormWithALabelAndAButton.
Chapter 2 More Controls Programming in C#. NET © 2003 by The McGraw-Hill Companies, Inc. All rights reserved.
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.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Assignment #1 Advanced Computer Programming.
Lecture Set 13 Drawing Mouse and Keyboard Events Part B – Mouse and Keyboard Events.
CIS 338: VB.NET Components Dr. Ralph D. Westfall April, 2011.
Some Interesting Controls. Controls We've UsedNew Controls LabelListBox TextBoxCheckedListBox ComboBoxTabControl ButtonTabPage Menu MenuItem TreeView.
© 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.
Week 3: WINDOWS PROGRAMMING Chapter 15 in “Beginning Visual C# 2010” ebook Chapter 4 in “”MCTS_Self-Paced_Training_Kit” ebook.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 12 - Graphical User Interface Concepts: Part.
Controls in C++/CLI (2) CheckBox RadioButton GroupBox ListBox.
Graphical User Interfaces 2 Tonga Institute of Higher Education.
CHAPTER TWO Creating Simple Visual Basic.NET Windows Applications.
IS437: Spring 2006 Instructor: Dr. Boris Jukic Controls.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
1 Chapter Ten Using Controls. 2 Objectives Learn about Controls How to create a Form containing Labels How to set a Label’s Font How to add Color to a.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
More Controls and Their Properties Part 4 dbg --- TextBox, CheckBox, RadioButton, GroupBox, ToolTips,
SEEM3460 Tutorial GUI in Java. Some Basic GUI Terms Component (Control in some languages) the basic GUI unit something visible something that user can.
Module 1 Window Forms – Basic, Grouping and Graphic controls 1.
WinForms – Basic Controls
Object-Oriented Application Development Using VB.NET 1 Chapter 10 VB.NET GUI Components Overview.
Menus Menus provide groups of related commands for windows applications Menu, menu items, submenus A menu item that contains a submenu is considered to.
Controls Part 2. DateTimePicker Control Used for representing Date/Time information and take it as input from user. Date information is automatically.
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.
Chapter 2 More Controls Programming in C#. NET Objectives Use text boxes, group boxes, check boxes, radio buttons, and picture boxes effectively.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Dr. Abraham Professor UTPA Graphical User Interface.
COMPUTER PROGRAMMING I Apply Procedures to Develop List Box and Combo Box Objects.
Graphical User Interface
3.01 Apply Controls Associated With Visual Studio Form
Week 3: WINDOWS PROGRAMMING
3.01 Apply Controls Associated With Visual Studio Form
Visual programming Chapter 3: GUI (Graphical User Interface) Part I
Chapter 2 Visual Basic Interface
Visual Basic Properties, Methods and Events
مراحل كتابة البرنامج بلغة فيجول بيسك ستديو
Programming Based on Events
Windows Controls Child Window Controls
Visual programming Chapter 4: GUI (Graphical User Interface) Part II
Visual C# - GUI and controls - 1
3.Visual Basic Controls.
Presentation transcript:

Pemrograman VisualMinggu …8… Page 1 MINGGU Ke Delapan Pemrograman Visual Pokok Bahasan: Graphical User Interface Tujuan Instruksional Khusus: Mahasiswa dapat menjelaskan dan mengaplikasikan Graphical User Interface pada Visual Basic 2008 Referensi: Deitel Deitel, Visual Basic 2008 (2009), How to Program, Prentice Hall. Chapter 14

Pemrograman VisualMinggu …8… Page 2 Agenda Some Basic GUI Components Common Properties and Methods Label, TextBox, Button Check Box & Radio Button Mouse Event Handling Keyboard Event Handling GroupBox & Panels Menus List Box, Check List Box, Combo Box List Box Properties, Methods & Events Combo Box Properties & Events Tab Control Properties & Events MDI Forms Properties & Events

Pemrograman VisualMinggu …8… Page 3 Some Basic GUI Components Label TextBox Button CheckBox ComboBox ListBox Panel Scrollbar

Pemrograman VisualMinggu …8… Page 4 Common Properties & Methods Common Properties –BackColor –BackgroundImage –Enabled –Foccused –Font –ForeColor –TabIndex –TabStop –Text –TextAllign –Visible Common Methods –Focus –Hide –Show

Pemrograman VisualMinggu …8… Page 5 Labels, TextBox, Buttons Label Properties –Font –Text –TextAlign TextBox Properties & Events –TextBox Properties AcceptReturn Multiline PasswordChar ReadOnly ScrollBars –TextBox Events TextChanged Button Properties & Events –Button Properties Text –Button Events Click

Pemrograman VisualMinggu …8… Page 6 CheckBox & RadioButton CheckBox –Properties Checked CheckState Text –Events CheckedChanged CheckStateChanged RadioButton –Properties Checked Text –Events Click CheckedChanged

Pemrograman VisualMinggu …8… Page 7 Mouse Event Handling Mouse Events –MouseDown –MouseHover –MouseMove –MouseUp Mouse Event Arguments –Button –Clicks –X –Y

Pemrograman VisualMinggu …8… Page 8 Keyboard-Event Handling Key Events –KeyDown –KeyUp –KeyPress Key Event Arguments Properties –KeyChar –Handled –Alt –Control –Shift –KeyCode –KeyData –KeyValue –Modifiers

Pemrograman VisualMinggu …8… Page 9 GroupBox & Panel GroupBox Properties –Control –Text Panel Properties –AutoScroll –BorderStyle –Controls

Pemrograman VisualMinggu …8… Page 10 Menus

Pemrograman VisualMinggu …8… Page 11 Menus Membuat Menu: Menu – ToolBox – MenuStrip Membuat Shortcut: Tambahkan tanda & Membuat Shortcut Khusus: e.g: Ctrl + F1 Pilih properties ShortcutKeys

Pemrograman VisualMinggu …8… Page 12 Main Menu & MenuItem Properties & Event MainMenu Properties –MenuItems –RightToLeft MenuItem Properties –Checked –Index –MenuItems –RadioCheck –Shortcut –Text Common Event –Click

Pemrograman VisualMinggu …8… Page 13 Example of Menu & Tasks Control TextBox Enabled Disabled Clear Text Box Label Resul Clear Characteristics Type Bold Italics Underline Color Blue Yellow

Pemrograman VisualMinggu …8… Page 14 ListBox & CheckedListBox

Pemrograman VisualMinggu …8… Page 15 ListBox Properties, Methods & Events Common Properties: –Items –MultiColumn –SelectedIndex –SelectedIndices –SelectedItem –SelectedItems –SelectionMode –Sorted Common Method: –GetSelected Common Event: –SelectedIndexChanged

Pemrograman VisualMinggu …8… Page 16 Example of ListBox & Task

Pemrograman VisualMinggu …8… Page 17 ComboBox

Pemrograman VisualMinggu …8… Page 18 ComboBox Properties & Event Common Properties: –DropDownStyle –Items –MaxDropDownItems –SelectedIndex –Sorted Common Events: –SelectedIndexChanged

Pemrograman VisualMinggu …8… Page 19 Tab Control

Pemrograman VisualMinggu …8… Page 20 TabControl Properties & Events Common Properties: –ImageList –ItemSize –MultiLine –SelectedIndex –SelectedTab –TabCount –TabPages Common Event: –SelectedIndexChanged

Pemrograman VisualMinggu …8… Page 21 MDI Form Properties & Events Common MDI Child Properties: –IsMdiChild –Mdiparent Common MDI Parent Properties: –ActiveMdiChild –IsMdiContainer –MdiChildren Common Method: –LayoutMdi Common Event: –MdiChildActivate

Pemrograman VisualMinggu …8… Page 22 Questions & Answers

Pemrograman VisualMinggu …8… Page 23 Thank You