- String Input
- Displaying Information
- Asking Questions
- Reporting Errors and Warnings
- HTML Browser
produces the following dialog:
xmf.choose("Class","Choose some classes",Root.allContentsOf(Class)->asSeq->sortNamedElements);
Selecting cancel returns null.
xmf.getString("Name","Type your name","Fred Smith");
Selecting cancel produces null.
xmf.info("Did you know?","Mammals are the only animals with flaps around the ears.");
Multi-line information can be shown as follows:
The path to the selected file is returned. The empty string is returned if cancel is selected.
xmf.question("Are mammals the only animals with flaps around the ears?");
The result is either true or false.
xmf.warning("Stop!","You have exceeded your authority!");