Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
OnColumnClick picture event
Declaration
Global handler:
Special handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnColumnClick(IN INT _refId, IN INT _column) ; script actions END OnColumnClick |
Special handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY XXX_OnColumnClick(IN INT _column) ; script actions END XXX_OnColumnClick |
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 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:
Blok kódu | ||||
---|---|---|---|---|
| ||||
; picture event handler: Left-clicking the column header |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; in displayer of Bowser type with reference variable _List assigned |
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY List_OnColumnClick |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; script actions END List_OnColumnClick |
Global picture event handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
; picture events handler: Left-clicking the column header |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; in the displayers of Browser type that has no |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; special picture event handler defined |
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnColumnClick(IN INT _refId, IN INT _column) |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; _refId - value of reference local variable assigned to graphic object IF _refId = _List THEN ; test that determines the Browser, the picture event occurred |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; script actions |
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENDIF END OncolumnClick |
Note
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.
Info | ||
---|---|---|
| ||