Tab Popup Notify Event

Template

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

This Notify event is generated when a tab is right-clicked. Application programs might call BBjPopupMenu::show to bring up a popup menu with various options (e.g. New Tab, Close Tab, etc). The notice string returns the tab index, the x,y location of the right click, and flags indicating any modifier keys that were pressed. 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 5.

id

ID of the tab control.

objtype

Always 106.

tabidx

Index of the tab that was right-clicked (zero-based).

x

Horizontal location of the right click.

y

Vertical location of the right click.

flags

Flags indicating any modifier keys that were pressed:

$01$ = Shift

$02$ = Ctrl

$04$ = Alt

$08$ = Cmd

See Also

NOTICE() Function - Get SYSGUI Notice String

NOTICETPL() Function - Get Notice String Template

Tab Control Notify Events

BBjTabCloseEvent

BBjTabPopupEvent

BBjPopupMenu



______________________________________________________________________________________

Copyright BASIS International Ltd. BBj®, Visual PRO/5®, PRO/5®, and BBx® are registered trademarks.