OnColumnClick
OnColumnClick picture event
Declaration
Global handler:
ENTRY OnColumnClick(IN INT _refId, IN INT _column)
; script actions
END OnColumnClick
Special handler:
ENTRY XXX_OnColumnClick(IN INT _column)
; script actions
END XXX_OnColumnClickParameters
| Parameter of 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 if the user left-clicks the column header in displayer of Browser type. The parameter _column is the serial number of the columns.
Example
Special picture event handler:
; picture event handler: Left-clicking the column header; in displayer of Bowser type with reference variable _List assignedENTRY List_OnColumnClick ; script actions
END List_OnColumnClick
Global picture event handler:
; picture events handler: Left-clicking the column header; in the displayers of Browser type that has no ; special picture event handler definedENTRY OnColumnClick(IN INT _refId, IN INT _column); _refId - value of reference local variable assigned to graphic object
IF _refId = _List THEN ; test that determines the Browser, the picture event occurred ; script actions ENDIF
END OncolumnClickNote
If both the handlers are defined in picture script, global handler will never be called for _refId=_List, because a special handler is already defined.
Related pages: