BBjPrompt::init

Description

In BBj 25.03 and higher, this method sets the initial default text for this BBjPrompt dialog.

Syntax

Return Value Method
BBjPrompt init(String init)

Parameters

Variable Description
init Initial default text for this BBjPrompt dialog.

Return Value

Returns this BBjPrompt object, enabling methods to be chained.

Remarks

If not specified, the initial default text is "".

Example

print bbjapi().prompt("Type some text").init("default text").show()

See Also

BBjAPI

PROMPT() Function - Prompt For String Value

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.