This single choice allowed automating
the Options menu content and the behavior of the Form without any additional
de?¬?nitions in the model: If the list is editable, the Options menu includes the
save menu item and closing the form after edit asks whether the changes made
should be saved. Boolean properties are also de?¬?ned for Form to disable the
automatic support allowing the application user to edit the labels in the form
?¬?elds, and to specify a double-spaced layout (one ?¬?eld takes two lines as the
label, and the value ?¬?eld is on different lines). To save the form, a return
variable, similar to the dialogs, was added as a property of the Form concept.
. An editor UI control: AText Editor modeling element with a title property, an
initial text property to show prede?¬?ned text when starting the editor, and a
property for entering editing code. Similar to the other UI controls, a return
variable is used to save the given text for later use.
. Listbox: Listbox in a mobile application shows a list of strings or a list of tuples
of strings. The Listbox modeling concept has a property to enter a Listbox name
that is visible on the screen and a content creation function and its return
variable. The content creation function could be entered directly as text into the
model or chosen from a list of available library functions.
Pages:
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321