BBjMsgBox::button3

Description

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

Syntax

Return Value Method
BBjMsgBox button3(String button3)

Parameters

Variable Description
button3 Custom text or HTML for the third 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").button3("button3")
print msgbox!.show()

See Also

BBjAPI

MSGBOX() Function

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