Tool Button Push Event

Description

The user clicked the tool button identified in the id field of the event template.

Mandatory/Optional

Mandatory

Event Mask Bit

None. Event is always visible.

Event Template

context:u(2),code:c(1),id:u(2),flags:u(1),x:u(2),y:u(2)

Field Description
context Window containing the button that was pushed.
code b
id ID of the tool button control which initiated this event.
flags

Mouse button:

$00$ Left
$01$ Right
$02$ Middle

Function key:

$04$ Shift
$08$ Ctrl
$20$ Alt (BBj 16.00 and higher)
$40$ Cmd (BBj 16.00 and higher)

Selected:

$10$ Button is pressed (selected)
x Click location within the tool button (BBj 21.00 and higher).
y Click location within the tool button (BBj 21.00 and higher).

See Also

BBjToolButtonPushEvent