background image
C H A P T E R 5
Stationery
5-12
Using Stationery
Add the protos that will display the data and labels to the working application. The
protos used here include:
newtSmartNameView
newtLabelNumInputLine
newtLabelDateInputLine
newtLabelTimeInputLine
You can read more about these protos in Chapter 4, "NewtApp Applications." They
should be aligned as shown in Figure 5-4.
Figure 5-4
The default viewDef view template
Set the slots of the
newtSmartNameView
as follows:
Set the
label
slot to
"Who"
.
Set the
path
slot to
[pathExpr: kDataSymbol, 'who]
. The path slot
must evaluate to a slot in your data entry frame that contains a name (or a place
to store one).
Set the
usePopup
slot to
true
.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна