Professional Documents
Culture Documents
Designing The Inventory Application: Introducing Es and S
Designing The Inventory Application: Introducing Es and S
T U T O R I A L
Designing the
4
Inventory
Application
Introducing TextBoxes
and Buttons
2009 Pearson Education, Inc. All rights reserved.
2
Outline
Objectives
Label
Label
TextBoxes
Button
Label
Figure 4.1 | Inventory application Form with default data displayed by the application.
■ A TextBox is a control that the user can enter data into from the
keyboard.
■ A Button is a control that causes the application to perform an action
when clicked.
2009 Pearson Education, Inc. All rights reserved.
6
Result of calculation
Name: TextBox
Figure 4.5 | Save Project dialog for saving the newly created application.
Working directory
Figure 4.6 | Project Location dialog used to specify the directory in which the project files
reside.
2009 Pearson Education, Inc. All rights reserved.
11
Form
Name property
Size property
Application (Cont.)
Descriptive Label
Output Label (recessed appearance)
Descriptive Labels
Location value 0, 0
Label control
Location 9, 15
MiddleCenter
TextAlign
property value
Fixed3D BorderStyle
property value highlighted
Location property
set to 136, 12
Figure 4.19 | Selecting value Right of the TextAlign property of a TextBox control.
Figure 4.20 | GUI after TextBoxes have been added and modified.
Close box