BBjMsgBox::button1

Description

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

Syntax

Return Value Method
BBjMsgBox button1(String button1)

Parameters

Variable Description
button1 Custom text or HTML for the first button.

Return Value

Returns this BBjMsgBox object, enabling methods to be chained.

Example

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

BBjAPI

MSGBOX() Function

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