getOnClickEventTarget( )

Gets the onClick event target.

Interface

mimelist

JavaScript synopsis
inst.getOnClickEventRow( )
C synopsis
AInt16 getOnClickEventRow(ListInstance* inst)
Parameters
  • inst   The MIME instance.

Returns

One of the following values, with the meaning indicated by the name of the associated constant:

  • 0 – TARGET_NONE

  • 1 – TARGET_PREV_PAGE_BTN

  • 2 – TARGET_NEXT_PAGE_BTN

  • 3 – TARGET_HEADER

  • 4 – TARGET_ITEM

  • 5 – TARGET_SCROLL_UP_BTN

  • 6 – TARGET_SCROLL_DOWN_BTN

  • 7 – TARGET_SCROLLBAR_BUBBLE

  • 8 – TARGET_HEADER_SEP

Remarks

The event target information in the mouse up event handler is cached so that JavaScript code can call this method to determine where the onClick event has happened. This is a workaround for the inability to retrieve event properties in the JavaScript event handler.