OnItemDoubleClick picture event
Related pages:
ENTRY OnItemDoubleClick(IN INT _refId[, IN INT _row, IN INT _col]) ; script actions END OnItemDoubleClick
ENTRY XXX_OnItemDoubleClick[(IN INT _row, IN INT _col)] ; script actions END XXX_OnItemDoubleClick
_refId | Parameter if INT type (required for global handler). |
XXX | Name of Reference variable connected to graphic object (without the character "_"). |
_row | If the displayer of Browser type generates the picture event, the parameter contains the row, above which the picture event was executed. Otherwise it contains invalid value. Optional parameter. |
_col | If the displayer of Browser type generates the picture event, the parameter contains the column, above which the picture event was executed. Otherwise it contains invalid value. Optional parameter. Warning: Number of column in parameter _col represents the sequential number based on how it is displayed, not how it is defined in the structure definition. |
Due to backward compatiblity
parameter _row represents the line number (from 1) on the current page (i.e. it does not take into account any possible previous pages)
parameter _col represents the column order (from left) as it is displayed (i.e. it does not represent the column index in the structure)
; picture event handler: Double-clicking on the list box with reference variable List assigned ENTRY List_OnItemDoubleClick ; script actions END List_OnItemDoubleClick
; picture events handler: Double-clicking on list box or ; displayer of Browser that has no special picture event handler defined ENTRY OnItemDoubleClick(IN INT _refId) ; _refId - value of Reference local variable assigned to graphic object IF _refId = _List THEN ; test that determines the graphic object the user clicked on ; script actions ENDIF END OnItemDoubleClick
Related pages:
Pridať komentár