Lecture 12 - CNIT 155 Lecture12 Lab Exam01 ◦ How did it go Lab05 is posted Read ◦ Chap03 ◦ Variables Data types Scope Variable name

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CNIT 155 Lecture12 Lab Exam01 ◦ How did it go? Lab05 is posted Read ◦ Chap03 ◦ Variables Data types Scope Variable name Announcements Review GUI Design ◦ Basic Controls Textbox Label Button ◦ Important Properties Name Text Objectives Button Control ◦ Is used to initiate an action. Label Control ◦ Is used to describe other objects placed on the form. ◦ Can also be used to display the output. TextBox Control ◦ Is used to get user’s input ◦ Is also used to display program’s output. 3 Basic Controls: Name of the object is needed when referring to the object in the code. Every object placed on the form has a default name, ex: Button1, Label1, … ◦ Change it to a meaningful name. Naming convention: ◦ Start with 3 letter prefix (lower case letters) ◦ Follow by a meaningful name. Starting with capital letter, continue with lower case letters. Name Property: Each control has a standard 3 letter prefix: Button: btn TextBox: txt Label: lbl Form: frm Ex: txtAddress txtOutput btnCompute, …. Name Property Is the text that appears on the object when placed on the form....
View Full Document

This note was uploaded on 03/04/2012 for the course CNIT 155 taught by Professor Guityravai during the Spring '12 term at Purdue University-West Lafayette.

Page1 / 23

Lecture 12 - CNIT 155 Lecture12 Lab Exam01 ◦ How did it go Lab05 is posted Read ◦ Chap03 ◦ Variables Data types Scope Variable name

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online