background image
C H A P T E R 4
NewtApp Applications
Summary of the NewtApp Framework
4-41
usePopup: true,// When true with labelCommands array
// picker is enabled
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtTextFilter,//
memory: nil,
// most recent picker choices
path: 'pathExpr,// Data stored/retrieved from here
ChangePopup: // change picker items before they display
func(
item, entry
)..., //
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtROLabelInputLine
4
aLabelInputLine
:= {
// Labelled display line for text
_proto: newtROLabelInputLine,
label: "",// Text for input line label
flavor: newtTextFilter,//
memory: nil,
// most recent picker choices
path: 'pathExpr,// Data stored/retrieved from here
ChangePopup: // change picker items before they display
func(
item, entry
)..., //
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
newtLabelNumInputLine
4
aLabelNumberInputLine
:= {
// Labelled number input line
_proto: newtLabelNumInputLine,
label: "",// Text for input line label
labelCommands: ["", "",],// Picker options
curLabelCommand:
integer
,// Integer for current command
usePopup: true,// When true with labelCommands array
// picker is enabled
access: 'readWrite,// Could be 'readOnly or 'pickOnly
flavor: newtNumberFilter,//
memory: nil,
// most recent picker choices
path: 'pathExpr,// Data stored/retrieved from here
ChangePopup: // change picker items before they display
func(
item, entry
)..., //
UpdateText: // Used with Undo to update text to new text
func(
newText
)..., //
}
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна