getComponent( )

Returns the component at position (x, y).

Interface

mimelist

JavaScript synopsis
inst.getComponent(x, y)
C synopsis
AInt16 getComponent(
  ListInstance* inst,
  AInt32 x,
  AInt32 y
)
Parameters
  • inst   The MIME instance.

  • x   x position in the Document Coordinate System.

  • y   y position in the Document Coordinate System.

Returns

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