ENTRY OnPageChange(IN INT _refId, IN INT _pageNr)
; script actions
END OnPageChange
Special handler:
ENTRY XXX_OnPageChange(IN INT _pageNr)
; script actions
END XXX_OnPageChange
Parameters
_refId
Parameter of the INT type (required for global handler).
XXX
Name of Reference variable connected to graphic object (without the character "_").
Description
The picture event is being generated by the displayer of the Browser type when the page is being changed. The value of the parameter _pageNr is the number of current page.
Example
The picture event handler of the displayer of Browser type with reference variable _browser displays new page number.
The Browser displays the structured variable _rec.
Special picture event handler:
ENTRY browser_OnPageChange(IN INT _pageNr)
TEXT _msg
_msg := "Page = " + %IToStr(_pageNr)
MESSAGE _msg ON _FROM_HIP
END browser_OnPageChange
BEGIN
REDIM _rec[10]
END
Pridať komentár