Date: Mon, 24 Sep 2001 09:25:33 -0500 (CDT) From: Mark Jacobson To: 810-030-01@uni.edu Subject: Quiz #1 on Wednesday.... Hi Visual Basic students, What will quiz #1 cover? Object Properties Methods Events Prefix -------- ------------ --------- -------- -------- Form BackColor Print Click frm Caption Cls Load or Form1 ForeColor Label Caption (def) Click lbl Alignment LBL FontSize BackColor ForeColor Vertical Max Change vsb Scroll Bars Min Scroll LargeChange SmallChange Know the thumb (dragging the thumb Value of a scroll bar is a SCROLL event) Command Font Click cmd Button Caption TextBox Text KeyPress txt Click GotFocus LostFocus Timer Interval Timer tmr Enabled or Timer1 Image Picture img Stretch imgMusic.Picture = LoadPicture("A:\jewel.gif") Difference between a method and a property. ------ -------- objectName.propertyName = someValueForProperty Form1.BackColor = RGB(rnd*255, rnd*255, rnd*255) Form1.Caption = "Mark Jacobson's U N I dancing program" objectName.methodName (possibly some value METHOD needs) Form1.Print "Hello World" Form1.Print "Go UNI Panthers" Form1.Cls ' Cls means Clear screen <--- Erases form1 -- - Picture1.Print "Quiz one is on Wednesday" Picture1.Cls ' Clear or erase the PictureBox control. Know the Left("Ghostbusters", 3) function or Left(txtFirstName, 1) techniques from the Initial Maker assignment. This is enough of a study guide for quiz #1. Basically, it will emphacize the lecture notes, previous assignments and handouts. It will not emphacize the textbook readings, except insofar as the readings overlap with the lecture notes and in-class examples. Menus (from last Friday hands-on class, will NOT be on quiz #1). Mark