Beruflich Dokumente
Kultur Dokumente
22
23
Used for
Output on a form
Identification of objects
Directions/Information
24
TextAlign Property
Controls alignment of text in the Text Box
Change Event
25
26
Checked = True
Unchecked = False
CheckChanged Event
27
Checked = True
Unchecked = False
CheckChanged Event
28
Displays/contains a picture/graphic
Image Property
SizeMode Property
StretchImage causes graphic to be resized to
match the size of the control
Visible Property
29
BorderStyle Property
None
FixedSingle
Fixed3D
210
211
Start
here
Drag
to here
Using mouse to drag a
selection box around
multiple controls
212
213
Easy to understand
Familiar
Comfortable
Organized
Sans Serif Fonts are best, not boldface or large
Color Neutral Overall
Keyboard Accessible
214
Text=&OK
Text=E&xit
215
Default Button
Identified visually on Form by its darker outline
Responds to ENTER key
Form's AcceptButton Property
Cancel Button
Responds to ESC key
Form's CancelButton Property
216
217
218
View
menu, TabOrder
219
StartPosition Property
Manual
CenterScreen
WindowsDefaultLocation
WindowsDefaultBounds
CenterParent
220
221
Component
Tray
222
txtName.Text=""
lblMessage.Text=""
txtCourse.Clear()
223
txtName.Focus()
224
radRed.Checked=True
chkBold.Checked=False
225
ForeColor
and BackColor
Properties
Use VB Color Constants from the
Color Class
View complete list in Help by
using the keyword Color followed
by a period
txtName.ForeColor=Color.AliceBlue
lblMessage.BackColor=Color.White
226
WithtxtName
.Visible=True
.Text="Lynne"
.Focus()
EndWith
227
lblFullName.Text=txtFName.Text&""&txtLName.Text
lblNote.Text="Today'sweatheris"&txtWeather.Text&"."
228
lblMessage.Text=txtFName.Text&""&txtLName.Text&_
",welcometoAikenTechnicalCollege.Todayis"&_
txtToday.Text
229
LECTURE 2