Tab Close Notify Event

Template

context:u(2),code:i(1),id:u(2),objtype:i(2),tabidx:i(2)

In BBj 16.0 and higher, this Notify event is generated when a tab close box is clicked. Application programs might call removeTab to close the specified tab, possibly after requesting an acknowledgement from the user. The notice string returns the tab index. Tab indices are defined in ResBuilder or with the 'TABCTRL' mnemonic. The left tab has an index of 0, the next tab to the right has an index of 1, and so on. (Tab indices are zero-based.)

Field

Description

context

Context on which event occurred.

code

Always 4.

id

ID of the tab control.

objtype

Always 106.

tabidx

Index of the tab to be closed (zero-based).

See Also

NOTICE() Function - Get SYSGUI Notice String

NOTICETPL() Function - Get Notice String Template

Tab Control Notify Events

BBjTabCloseEvent