BBj Events Correspondence Table

Event Callback

Object/Control

Object-oriented Event

Read Record Event

Code

Flags

Template Field => Event Property

CALLBACK Verb Event Table

N/A

N/A

BBjCustomEvent

N/A

q

0

All fields contain zeros. To obtain event information
call BBjAPI::getLastEvent() to retrieve the BBjCustomEvent

 

N/A

BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner

BBjInputMaskFormatError

N/A

N

2

notice.error => (assumed to be 43)

 

ON_ACTIVATE

BBjSysGui, BBjWindow

BBjActivateEvent

Activation Event

A

4

 

Window

ON_BUTTON_PUSH

BBjButton, BBjMenuButton, BBjSysGui

BBjButtonPushEvent

Push Button Event

B

 

 

Control

ON_CHECK_OFF

BBjCheckBox, BBjRadioButton, BBjSysGui

BBjCheckOffEvent

Check/Uncheck Event

c

0

 

Control

ON_CHECK_ON

BBjCheckBox, BBjRadioButton, BBjSysGui

BBjCheckOnEvent

Check/Uncheck Event

c

1

 

Control

ON_CLOSE

BBjSysGui, BBjWindow

BBjCloseEvent

Close Box Event

X

 

 

Window

ON_COLOR_CHANGE

BBjWindow

BBjColorChangeEvent

System Color Change Event

s

1

 

Window

ON_COLORCHOOSER_APPROVE

BBjColorChooser

BBjColorChooserApproveEvent

ColorChooser Approve Event

x

 

 

Control

ON_COLORCHOOSER_CANCEL

BBjColorChooser

BBjColorChooserCancelEvent

ColorChooser Cancel Event

x

 

 

Control

ON_COLORCHOOSER_CHANGE

BBjColorChooser

BBjColorChooserChangeEvent

ColorChooser Change Event

x

 

 

Control

ON_CONTROL_SCROLL

BBjScrollbar, BBjSlider

BBjControlScrollEvent

Scrollbar Move Event

p

 

event.x => getPosition()

Control

ON_CONTROL_VALIDATION

BBjCEdit, BBjCheckBox, BBjEditBox, BBjEditBoxSpinner, BBjGrid, BBjHtmlView, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjRadioButton, BBjSpinner, BBjTree

BBjControlValidationEvent

Control Validation Event

v

 

 

Control

ON_DB_GRID_ROW_CHANGE_REQUEST

BBjDataBoundGrid

BBjDBGridRowChangeRequestEvent

N/A

 

 

 

Control

ON_DEACTIVATE

BBjWindow

BBjDeactivateEvent

Activation Event

A

2

 

Window

ON_DOUBLE_CLICK

BBjSysGui, BBjWindow

BBjDoubleClickEvent

Mouse Double-Click

 

2

 

event.id => getMouseButton()
event.x => getX()
event.y => getY()
event.flags $01$ => isShiftDown()
event.flags $02$ => isCtrlDown()
event.flags $04$ => isAltDown()

Window

ON_DRAG_SOURCE_DROP

Interface DragSource

(implemented by BBjCEdit, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjHtmlView, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjListBox, BBjListEdit, BBjListSpinner)

BBjDragSourceDropEvent

Drag Source Drop Event

O

 

event.flags => getAction()

event.x => getSuccess()

Control

ON_DROP_TARGET_DROP

Interface DropTarget

(implemented by BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCommonChart, BBjCheckBox, BBjColorChooser, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser, BBjGenericChart, BBjHtmlView, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPieChart, BBjPrintPreview, BBjProgressBar, BBjScrollBar, BBjSlider, BBjTabCtrl, BBjToolButton, BBjWindow)

BBjDropTargetDropEvent

Drop Target Drop Event

D

 

event.flags => getAction()

event.x, event.y => getDragSource()

Control

ON_EDIT_KEYPRESS

BBjEditBox, BBjEditBoxSpinner, BBjListSpinner, BBjSpinner, BBjSysGui

BBjEditKeypressEvent

Edit Control Notify

N

1

notice.key => getKeyCode()

Control

ON_EDIT_MODIFY

BBjCEdit, BBjEditBox, BBjEditBoxSpinner, BBjInputD, BBjInputDSpinner, BBjInputE,  BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjListEdit, BBjListSpinner, BBjSpinner,

BBjEditModifyEvent

Edit Control Modify Event

e

 

 

Control

ON_FILECHOOSER_APPROVE

BBjFileChooser

BBjFileChooserApproveEvent

FileChooser Approve Event

x

 

 

Control

ON_FILECHOOSER_CANCEL

BBjFileChooser

BBjFileChooserCancelEvent

FileChooser Cancel Event

x

 

 

Control

ON_FILECHOOSER_CHANGE

BBjFileChooser

BBjFileChooserChangeEvent

FileChooser Change Event

x

 

 

Control

ON_FILECHOOSER_FILTER

BBjFileChooser

BBjFileChooserFilterEvent

FileChooser Filter Event

x

 

 

Control

ON_FONTCHOOSER_APPROVE

BBjFontChooser

BBjFontChooserApproveEvent

FontChooser Approve Event

x

 

 

Control

ON_FONTCHOOSER_CANCEL

BBjFontChooser

BBjFontChooserCancelEvent

FontChooser Cancel Event

x

 

 

Control

ON_FONTCHOOSER_CHANGE

BBjFontChooser

BBjFontChooserChangeEvent

FontChooser Change Event

x

 

 

Control

ON_FORM_VALIDATION

BBjButton, BBjMenuButton, BBjToolButton

BBjFormValidationEvent

Form Validation Event

V

 

 

Control

ON_GAINED_FOCUS

BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCheckBox, BBjColorChooser, BBjCommonChart, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser, BBjGenericChart, BBjGrid, BBjHtmlView, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPieChart, BBjPrintPreview, BBjProgressBarBBjRadioButton, BBjScrollBar, BBjSlider, BBjSpinner, BBjStatusBar, BBjTabCtrl, BBjToolButton, BBjTree

BBjGainedFocusEvent

Control Focus Gained/Lost Event

f

1

 

Control

ON_GEOLOCATION_POSITION

BBjGeolocation

BBjGeolocationPositionEvent

N/A

G

 

 

Other

ON_GEOLOCATION_WATCH

BBjGeolocation

BBjGeolocationEvent

N/A

G

 

 

Other

ON_GRID_CELL_MODIFY

BBjGrid

BBjGridCellModifyEvent

EDITCHANGE Grid Notify Event

N

5

notice.row => getRow()
notice.col => getColumn()

Control

ON_GRID_CELL_QUERY

BBjStandardGrid

BBjGridCellQueryEvent

Grid Cell Query Event

N

33

 

Control

ON_GRID_CELL_VALIDATION

BBjGrid

BBjGridCellValidationEvent

Grid Cell Validation Event

N

32

notice.row => getOldRow()
notice.col => getOldColumn()
notice.buf$ => getValue()

Control

ON_GRID_CHECK_OFF

BBjGrid

BBjGridCheckOffEvent

CELLCHECKED Grid Control Event

N

30

notice.row => getRow()
notice.col => getColumn()
notice.lparam => isChecked()

Control

ON_GRID_CHECK_ON

BBjGrid

BBjGridCheckOnEvent

CELLCHECKED Grid Control Event

N

30

notice.row => getRow()
notice.col => getColumn()
notice.lparam => isChecked()

Control

ON_GRID_COLUMN_SIZE

BBjGrid

BBjGridColumnSizeEvent

COLUMNSIZED Grid Notify Event

N

1

notice.col => getColumn()
notice.wparam => getWidth()

Control

ON_GRID_DOUBLE_CLICK

BBjGrid, BBjGridHeader

BBjGridDoubleClickEvent

DCLICKED Grid Notify Event

N

3

notice.row => getRow()
notice.col => getColumn()
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_DRAG_DROP

BBjGrid

BBjGridDragDropEvent

DRAGDROP Grid Notify Event

N

4

notice.row => getRow()
notice.col => getColumn()
notice.buf$ => getNewText()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_EDIT_START

BBjGrid

BBjGridEditStartEvent

EDITSET Grid Notify Event

N

8

notice.row => getRow()
notice.col => getColumn()

Control

ON_GRID_EDIT_STOP

BBjGrid

BBjGridEditStopEvent

EDITKILL Grid Notify Event

N

7

notice.row => getRow()
notice.col => getColumn()
notice.buf$ => getValue()

Control

ON_GRID_ENTER_KEY

BBjGrid

BBjGridEnterKeyEvent

ENTER Grid Notify Event

N

9

notice.row => getRow()
notice.col => getColumn()
notice.wparam $01$ => isControlDown()
notice.wparam $02$ => isShiftDown()

Control

ON_GRID_ERROR

BBjGrid

N/A

ERROR Grid Notify Event

N

29

 

Control

ON_GRID_GAINED_FOCUS

BBjGrid

BBjGridGainedFocusEvent

SETFOCUS Grid Notify Event

N

20

notice.row => getRow()
notice.col => getColumn()

Control

ON_GRID_HIT_BOTTOM

BBjGrid

BBjGridHitBottomEvent

HITBOTTOM Grid Notify Event

N

10

notice.wparam => getNumberRowsMoved()
notice.lparam => getNumberRowsInGrid()

Control

ON_GRID_HIT_TOP

BBjGrid

BBjGridHitTopEvent

HITTOP Grid Notify Event

N

11

notice.wparam => getNumberRowsMoved()
notice.lparam => getNumberRowsInGrid()

Control

ON_GRID_KEYPRESS

BBjGrid

BBjGridKeypressEvent

KEYBOARD Grid Notify Event

N

12

notice.row => getRow()
notice.col => getColumn()
notice.wparam$ => getKeyCode()

Control

ON_GRID_LEFT_COLUMN_CHANGE

BBjGrid

BBjGridLeftColumnChangeEvent

LEFTCOLCHANGE Grid Notify Event

N

16

notice.row => getTopRow()
notice.col => getLeftColumn()
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()

Control

ON_GRID_LIST_CANCEL

BBjGrid

BBjGridListCancelEvent

LISTCANCEL Grid Notify Event

N

34

notice.row => getRow()

notice.col => getColumn()
notice.buf => getValue()

Control

ON_GRID_LIST_CHANGE

BBjGrid

BBjGridListChangeEvent

LISTCHANGE Grid Notify Event


N

35

notice.row => getRow()

notice.col => getColumn()

notice.lparam => getIndex()
notice.buf => getValue()

Control


ON_GRID_LIST_CLICK

BBjGrid

BBjGridListClickEvent

LISTCLICK Grid Notify Event


N

36

notice.row => getRow()

notice.col => getColumn()

notice.lparam => getIndex()
notice.buf => getValue()

Control


ON_GRID_LIST_CLOSE

BBjGrid

BBjGridListCloseEvent

LISTCLOSE Grid Notify Event


N

37

notice.row => getRow()

notice.col => getColumn()

notice.buf => getValue()

Control


ON_GRID_LIST_OPEN

BBjGrid

BBjGridListOpenEvent

LISTOPEN Grid Notify Event


N

38

notice.row => getRow()

notice.col => getColumn()

notice.buf => getValue()

Control


ON_GRID_LIST_SELECT

BBjGrid

BBjGridListSelectEvent

LISTSELECT Grid Notify Event


N

39

notice.row => getRow()

notice.col => getColumn()

notice.lparam => getIndex()
notice.buf => getValue()

Control


ON_GRID_LOST_FOCUS

BBjGrid

BBjGridLostFocusEvent

KILLFOCUS Grid Notify Event

N

13

notice.row => getRow()
notice.col => getColumn()

Control

ON_GRID_MOUSE_DOWN

BBjGridBBjGridHeader

BBjGridMouseDownEvent

LCLICKED Grid Notify Event

N

14

notice.row => getRow()
notice.col => getColumn()
notice.lparam == 1 (mouse down)
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()
event.flags 14 => isOnSelectedCell() false

Control

LCLICKED2 Grid Notify Event

N

15

notice.row => getRow()
notice.col => getColumn()
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()
event.flags 15 => isOnSelectedCell() true

Control

ON_GRID_MOUSE_DRAG

BBjGrid

BBjGridMouseDragEvent

MOUSECAPTURE Grid Notify Event

N

17

notice.row => getRow()
notice.col => getColumn()
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_MOUSE_MOVE

BBjGrid

BBjGridMouseMoveEvent

MOUSECAPTURE Grid Notify Event

N

17

notice.row => getRow()
notice.col => getColumn()
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_MOUSE_UP

BBjGrid,  BBjGridHeader

BBjGridMouseUpEvent

LCLICKED Grid Notify Event

N

14

notice.row => getRow()
notice.col => getColumn()
notice.lparam == 0 (mouse up)
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_RIGHT_MOUSE_DOWN

BBjGridBBjGridHeader

BBjGridRightMouseDownEvent

RCLICKED Grid Notify Event

N

18

notice.row => getRow()
notice.col => getColumn()
notice.lparam == 0 (mouse down)
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_RIGHT_MOUSE_UP

BBjGridBBjGridHeader

BBjGridRightMouseUpEvent

RCLICKED Grid Notify Event

N

18

notice.row => getRow()
notice.col => getColumn()
notice.lparam == 1 (mouse up)
notice.wparam $01$ => isShiftDown()
notice.wparam $02$ => isControlDown()
notice.x => getCellBounds().x
notice.y => getCellBounds().y
notice.w => getCellBounds().width
notice.h => getCellBounds().height
notice.ptx => getXLocationInCell()
notice.pty => getYLocationInCell()

Control

ON_GRID_ROW_DELETE

BBjDataAwareGrid

BBjDAGridRowDeleteEvent

ROWDELETE Grid Notify Event

N

25

notice.row => getRow()
notice.rcd$ => getValues()

Control

ON_GRID_ROW_INSERT

BBjDataAwareGrid

BBjDAGridRowInsertEvent

ROWINSERT Grid Notify Event

N

24

notice.row => getRow()
notice.rcd$ => getValues()

Control

ON_GRID_ROW_INSERT_CANCEL

BBjDataAwareGrid

BBjDAGridRowCancelEvent

ROWCANCEL Grid Notify Event

N

26

notice.row => getRow()
notice.rcd$ => getValues()

Control

ON_GRID_ROW_UPDATE

BBjDataAwareGrid

BBjDAGridRowUpdateEvent

ROWUPDATE Grid Notify Event

N

27

notice.row => getRow()
notice.rcd$ => getValues()

Control

ON_GRID_ROW_VALIDATION

BBjDataAwareGrid

BBjGridRowValidationEvent

ROWVALIDATION Notify Event

N

31

notice.row => getRow()

Control

ON_GRID_SELECT_COLUMN

BBjGrid

BBjGridSelectColumnEvent

COLCHANGE Grid Notify Event

N

2

notice.row => getRow()
notice.col => getColumn()

Control

ON_GRID_SELECT_ROW

BBjGrid

BBjGridSelectRowEvent

ROWCHANGE Grid Notify Event

N

19

notice.row => getRow()
notice.col => getColumn()

Control

ON_GRID_SPECIAL_KEY

BBjGrid

BBjGridSpecialKeyEvent

EDITKEY Grid Notify Event

N

6

notice.row => getRow()
notice.col => getColumn()
notice.wparam => getKeyCode()

Control

ON_GRID_TOP_ROW_CHANGE

BBjGrid

BBjGridTopRowChangeEvent

TOPROWCHANGE Grid Notify Event

N

21

notice.row => getTopRow()
notice.col => getLeftColumn()

Control

ON_GRID_UPDATE

BBjGrid, BBjGridHeader

BBjGridUpdateEvent

TABLEUPDATE Grid Notify Event

N

22

notice.leftcol => getRow()
notice.toprow => getColumn()
notice.botrow ~> getRowCount()
notice.rightcol ~> getColumnCount()

Control

ON_HYPERLINK_ACTIVATE

BBjHtmlView

BBjHyperlinkActivateEvent

Hyperlink Activate Event

x

 

 

Control

ON_HYPERLINK_ENTER

BBjHtmlView

BBjHyperlinkEnterEvent

Hyperlink Enter Event

x

 

 

Control

ON_HYPERLINK_EXIT

BBjHtmlView

BBjHyperlinkExitEvent

Hyperlink Exit Event

x

 

 

Control

ON_INPUT_KEYPRESS

BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner,

BBjInputKeypressEvent

Keypress Event

N

1

notice.key => getKeyCode()

Control

ON_KEYPRESS

BBjWindow

BBjKeypressEvent

Keypress Event

t

 

event.id => getKeyCode()

Window

ON_LIST_CANCEL

BBjListButton, BBjListEdit

BBjListCancelEvent

List Button and List Edit Notify Events

N

4

 

Control

ON_LIST_CHANGE

BBjListButton, BBjListEdit

BBjListChangeEvent

List Button and List Edit Notify Events

N

5

 

Control

ON_LIST_CLICK

BBjListBox, BBjListButton, BBjListEdit

BBjListClickEvent

List Item Click Event

l

0

 

Control

ON_LIST_CLOSE

BBjListButton, BBjListEdit

BBjListCloseEvent

List Button and List Edit Notify Events

N

3

 

Control

ON_LIST_DOUBLE_CLICK

BBjListBox

BBjListDoubleClickEvent

List Item Click Event

l

1

 

Control

ON_LIST_OPEN

BBjListButton, BBjListEdit

BBjListOpenEvent

List Button and List Edit Notify Events

N

1

 

Control

ON_LIST_SELECT

BBjListButton, BBjListEdit

BBjListSelectEvent

List Button and List Edit Notify Events

N

2

 

Control

ON_LOST_FOCUS

BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCheckBox, BBjColorChooser, BBjCommonChart, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser,  BBjGenericChart, BBjGrid, BBjHtmlView, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPieChart, BBjPrintPreview, BBjProgressBar,  BBjRadioButton, BBjScrollBar, BBjSlider, BBjSpinner, BBjStatusBar, BBjTabCtrl, BBjToolButton, BBjTree

BBjLostFocusEvent

Control Focus Gained/Lost Event

f

0

 

Control

ON_MDI_CLOSING

BBjMDI

BBjMDIClosingEvent

N/A

M

 

 

Window

ON_MENU_ITEM_SELECT

BBjCheckableMenuItem, BBjMenuItem, BBjSysGui

BBjMenuItemSelectEvent

Menu Selection

C

 

event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isSelected()

Menu

ON_MINIMIZE

BBjWindow

BBjMinimizeEvent

Activation Event

A

5

 

Window

ON_MOUSE_DOWN

BBjSysGui, BBjWindow

BBjMouseDownEvent

Mouse Button Down

d

 

event.id => getMouseButton()
event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isAltDown()
event.x => getX()
event.y => getY()

Window

ON_MOUSE_ENTER

BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCheckBox, BBjColorChooser, BBjCommonChart, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser,  BBjGenericChart, BBjGrid, BBjHtmlView, BBjImageCtrl, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPieChart, BBjPrintPreview, BBjProgressBar,  BBjRadioButton, BBjScrollBar, BBjSlider, BBjSpinner, BBjStaticText, BBjStatusBar, BBjTabCtrl, BBjToolButton, BBjTree, BBjWindow

BBjMouseEnterEvent

Mouse Enter/Exit Event

E

0

event.id => getMouseButton()
event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isAltDown()
event.x => getX()
event.y => getY()

Window

ON_MOUSE_EXIT

BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCheckBox, BBjColorChooser, BBjCommonChart, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser,  BBjGenericChart, BBjGrid, BBjHtmlView, BBjImageCtrl, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPieChart, BBjPrintPreview, BBjProgressBar,  BBjRadioButton, BBjScrollBar, BBjSlider, BBjSpinner, BBjStaticText, BBjStatusBar,  BBjTabCtrl, BBjToolButton, BBjTree, BBjWindow

BBjMouseExitEvent

Mouse Enter/Exit Event

E

1

event.id => getMouseButton()
event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isAltDown()
event.x => getX()
event.y => getY()

Window

ON_MOUSE_MOVE

BBjSysGui,, BBjWindow

BBjMouseMoveEvent

Mouse Move Event

m

 

event.id => getMouseButton()
event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isAltDown()
event.x => getX()
event.y => getY()

Window

ON_MOUSE_SCROLL

BBjWindow

BBjScrollWheelEvent

Mouse Scroll Wheel Event

w

 

event.flags => getScrollDirection()
event.x, event.y => getFocusedControl()

Window

ON_MOUSE_UP

BBjSysGui, BBjWindow

BBjMouseUpEvent

Mouse Button Up Event

u

 

event.id => getMouseButton()
event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isAltDown()
event.x => getX()
event.y => getY()

Window

ON_NAMESPACE_CHANGE

N/A

BBjNamespaceEvent

N/A

N

2

notice.namespace$ => getNamespaceName()
notice.varname$ => getVariableName()
notice.oldval$ => getOldValue()
notice.newval$ => getNewValue()

Other

ON_NAMESPACE_SET

N/A

BBjNamespaceEvent

N/A

N

1

notice.namespace$ => getNamespaceName()
notice.varname$ => getVariableName()
notice.oldval$ => getOldValue()
notice.newval$ => getNewValue()

Other

ON_NAV_FIRST

BBjNavigator

BBjNavigatorMoveFirstEvent

Navigator Notify Events

N

1

 

Control

ON_NAV_LAST

BBjNavigator

BBjNavigatorMoveLastEvent

Navigator Notify Events

N

4

 

Control

ON_NAV_NEXT

BBjNavigator

BBjNavigatorMoveNextEvent

Navigator Notify Events

N

3

 

Control

ON_NAV_PREVIOUS

BBjNavigator

BBjNavigatorMovePreviousEvent

Navigator Notify Events

N

2

 

Control

ON_PAGE_LOADED

BBjHtmlView

BBjPageLoadedEvent

Page Loaded Event

x

 

 

Control

ON_POPUP_ITEM_SELECT

BBjPopupMenu

BBjPopupSelectEvent

Popup Selection Event

P

 

event.flags $01$ => isShiftDown()
event.flags $02$ => isControlDown()
event.flags $04$ => isSelected()
event.x, event.y => getMenuItem()

Popup Menu

ON_POPUP_REQUEST

BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCheckBox, BBjColorChooser, BBjCommonChart, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser,  BBjGenericChart, BBjGrid, BBjHtmlView, BBjImageCtrl, BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPopupMenu, BBjPieChart, BBjPrintPreview, BBjProgressBar, BBjRadioButton, BBjScrollBar, BBjSlider, BBjSpinner, BBjStaticText, BBjStatusBar, BBjTabCtrl, BBjToolButton, BBjTree

BBjPopupRequestEvent

Popup Request Event

r

 

event.x => getX()
event.y => getY()

Control

ON_RESIZE

BBjWindow

BBjResizeEvent

Window Resize Event

S

 

event.x => getWidth()
event.y => getHeight()

Window

ON_RESTORE

BBjWindow

BBjRestoreEvent

Activation Event

A

6

 

Window

ON_RIGHT_MOUSE_DOWN

BBjBarChart, BBjButton, BBjCEdit, BBjChart, BBjCheckBox, BBjColorChooser, BBjCommonChart, BBjEditBox, BBjEditBoxSpinner, BBjFileChooser, BBjFontChooser,  BBjGenericChart, BBjGrid, BBjGroupBox, BBjHtmlView,  BBjInputD, BBjInputDSpinner, BBjInputE, BBjInputESpinner, BBjInputN, BBjInputNSpinner, BBjLineChart, BBjListBox, BBjListButton, BBjListEdit, BBjListSpinner, BBjMenuButton, BBjNavigator, BBjPieChart, BBjPrintPreview, BBjProgressBar,  BBjRadioButton, BBjScrollBar, BBjSlider, BBjSpinner, BBjStaticText, BBjStatusBar, BBjTabCtrl, BBjToolButton, BBjTree

BBjRightMouseDownEvent

Right Mouse Button Down Event

R

 

event.flags ~> getClickCount()
event.x => getX()
event.y => getY()

Control

ON_SCREEN_RESIZE

BBjWindow

BBjScreenResizeEvent

Screen Resize Event

s

2

event.x => getWidth()
event.y => getHeight()

Window

ON_SPIN

BBjEditBoxSpinner, BBjInputDSpinner, BBjInputESpinner, BBjInputNSpinner, BBjListSpinner, BBjSpinner

BBjSpinEvent

N/A

 

 

 

Control

ON_TAB_CLOSE

BBjTabCtrl

BBjTabCloseEvent

Tab Close Notify Event

N

4

notice.tabidx => getIndex()

Control

ON_TAB_DESELECT

BBjTabCtrl

BBjTabDeselectedEvent

Tab Deselection Notify Event

N

2

notice.tabidx => getIndex()

Control

ON_TAB_KEYPRESS

BBjTabCtrl

BBjTabKeypressEvent

Keypress Notify Event - Tab Control

N

3

notice.keycode => getKeyCode()

Control

ON_TAB_POPUP

BBjTabCtrl

BBjTabPopupEvent

Tab Popup Notify Event

N

5

notice.tabidx => getIndex()

event.x => getX()

event.y => getY()

event.flags $01$ => isShiftDown()

event.flags $02$ => isCtrlDown()

event.flags $04$ => isAltDown()

Event.flags $08$ => isCmdDown()

Control

ON_TAB_SELECT

BBjTabCtrl

BBjTabSelectedEvent

Tab Selection Notify Event

N

1

notice.tabidx => getIndex()

Control

ON_TIMER

N/A

BBjTimerEvent

Timer Event


T

 

event.x => getTimeoutInMillis()
event.y => getKey()

Other

ON_TOOL_BUTTON_PUSH

BBjMDI, BBjToolButton

BBjToolButtonPushEvent

Tool Button Push

b

 

event.flags $00$, $01$, $02$ => getMouseButton()
event.flags $04$ => isControlDown()
event.flags $08$ => isShiftDown()
event.flags $10$ => isSelected()

Control

ON_TREE_COLLAPSE

BBjTree

BBjTreeNodeCollapsedEvent

Tree Node Collapsed

N

4

notice.node => getNodeID()

Control

ON_TREE_DESELECT

BBjTree

BBjTreeNodeDeselectedEvent

Tree Node Deelected

N

2

notice.node => getNodeID()

Control

ON_TREE_DOUBLE_CLICK

BBjTree

BBjTreeMouseDoubleClickEvent

Double-Click on Tree

N

7

notice.x => getX()
notice.y => getY()
notice.wparam $01$ => isControlDown()
notice.wparam $02$ => isShiftDown()

Control

ON_TREE_EDIT_STOP

BBjTree

BBjTreeNodeEditStoppedEvent

Tree Node Edit Stopped

N

5

notice.node => getNodeID()
notice.buf$ => getNewText()

Control

ON_TREE_EXPAND

BBjTree

BBjTreeNodeExpandedEvent

Tree Node Expanded

N

3

notice.node => getNodeID()

Control

ON_TREE_MOUSE_DOWN

BBjTree

BBjTreeMouseDownEvent

Left Mouse Down

N

6

notice.x => getX()
notice.y => getY()
notice.wparam $01$ => isControlDown()
notice.wparam $02$ => isShiftDown()

Control

ON_TREE_MOUSE_UP

BBjTree

BBjTreeMouseUpEvent

Left Mouse Up

N

6

notice.x => getX()
notice.y => getY()
notice.wparam $01$ => isControlDown()
notice.wparam $02$ => isShiftDown()

Control

ON_TREE_RIGHT_MOUSE_DOWN

BBjTree

BBjTreeRightMouseDownEvent

Right Mouse Down

N

8

notice.x => getX()
notice.y => getY()
notice.wparam $01$ => isControlDown()
notice.wparam $02$ => isShiftDown()

Control

ON_TREE_RIGHT_MOUSE_UP

BBjTree

BBjTreeRightMouseUpEvent

Right Mouse Up

N

8

notice.x => getX()
notice.y => getY()
notice.wparam $01$ => isControlDown()
notice.wparam $02$ => isShiftDown()

Control

ON_TREE_SELECT

BBjTree

BBjTreeNodeSelectedEvent

Tree Node Selected

N

1

notice.node => getNodeID()

Control

ON_WEB_CONNECTION

N/A

BBjServletEvent

N/A

 

 

 

Other

ON_WINDOW_GAINED_FOCUS

BBjWindow

BBjWindowGainedFocusEvent

Window Focus Gained/Lost Event

F

1

 

Window

ON_WINDOW_LOST_FOCUS

BBjWindow

BBjWindowLostFocusEvent

Window Focus Gained/Lost Event

F

0

 

Window

ON_WINDOW_MOVE

BBjWindow

BBjWindowMoveEvent

Window Move

L

 

event.x => getX()
event.y => getY()

Window

ON_WINDOW_SCROLL

BBjWindow

BBjWindowScrollEvent

Scrollbar Move

p

 

event.x => getScrollValue()

Window

 

See Also

CALLBACK Verb - Register BBj Subroutine

BBjControl::setCallback



______________________________________________________________________________________

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