%AX_TKEVENT_SCROLL

Call extension routine for scroll event

WSupported on Windows

 

 

 

value = %AX_TKEVENT_SCROLL(resv_1, resv_2, ^VAL(container_id), 
&      ^VAL(D_EVENT_SCROLL), ^VAL(col_cell), ^VAL(row_cell), ^VAL(col_offset),
&      ^VAL(row_offset))

value

The return value for the method. On Windows, this function always returns true unless the extension returns false. On Unix, this function will cause an error if invoked. On OpenVMS, it returns true. (^VAL)

resv_1, resv_2

Reserved for internal use. (a)

container_id

The ID of the Toolkit container window for the ActiveX control. This must be passed by value. (i)

D_EVENT_SCROLL

The event code for the event that invokes the extension. This must be passed by value. (i)

col_cell

The display area’s horizontal position (x axis) as a cell column number. This must be passed by value. (i)

row_cell

The display area’s vertical position (y axis) as a cell row number. This must be passed by value. (i)

col_offset

The offset (number of pixels) between the window’s horizontal (x axis) position and the display area’s horizontal position. This must be passed by value. (i)

row_offset

The offset (number of pixels) between the window’s vertical (y axis) position and the display area’s vertical position. This must be passed by value. (i)

If you passed the prefix argument to %AX_TKSINGLE or %GRID_CREATE, and a routine with the name prefix_TKEVENT_SCROLL was available when the container was created, %AX_TKEVENT_SCROLL calls your extension routine for the D_EVENT_SCROLL event. If you didn’t pass the prefix argument, %AX_TKEVENT_SCROLL does nothing.

This routine is part of the method set that’s registered when you use %AX_TKSINGLE or %GRID_CREATE.