BBjMsgBox::button2

Description

In BBj 25.03 and higher, this method sets custom text or HTML for the second button of this BBjMsgBox.

Syntax

Return Value Method
BBjMsgBox button2(String button2)

Parameters

Variable Description
button2 Custom text or HTML for the second button.

Return Value

Returns this BBjMsgBox object, enabling methods to be chained.

Example

msgbox! = bbjapi().msgbox("Custom buttons")
msgbox!.options(BBjMsgBox.MSGBOX_BUTTONS_CUSTOM)
msgbox!.button1("button1").button2("button2")
print msgbox!.show()

See Also

BBjAPI

MSGBOX() Function

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