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.0 and higher)

$40$ = Cmd (BBj 16.0 and higher)

Selected:

$10$ = Button is pressed (selected)

x

0

y

0

See Also

BBjToolButtonPushEvent



______________________________________________________________________________________

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