Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Supported Methods

Description of Methods

Void SetDisplayText(String displayText)

Sets the descriptive text displayed to the user for prompting regarding the required entry.

Void SetText(String title)

Sets the default text displayed in the keyboard entry field. Text is selected by default, so that if the user begins to enter text, the default text is replaced. If the user presses the action button (e.g. Search), the default text is used as the entry.

String GetText(Void)

Returns the current value in the keyboard text entry field.

Void SetMaxLength(Integer maxLen)

Set the maximum length for text entry. Default: 20 characters.

Void AddButton(Integer id, String title)

Adds a button to the screen identified by the title and ID provided. The buttons are at the bottom of the screen and appear in the order added. When the button is pressed, the script will receive an event from the application indicating the ID if the button pressed.

Void setSecureText(Boolean isSecure)

If isSecure is true the user entered text is obscured with bullet characters. If false, it's treated as plain text. The default is false.

Boolean Show(Void)

Display or refresh the screen after creation or state changes.

Void Close(Void)

Close the screen and delete the associated object. Useful for avoiding screen flicker when the display order of your screens does not resemble a stack.

Void SetTitle(String title)

Set the title for the screen to the specified string.

  • No labels