chenqinghong
2024-05-07 3ec06a830367465068963156dcc1d8e522571c13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Quintiq file version 2.0
#parent: ListIssue
Response OnClickElement (
  LibOpt_Issue element
) id:Response_ListIssue_OnClickElement
{
  #keys: '[142652.0.2051817615]'
  Body:
  [*
    // Toggle the `IsSeen` value for the `LibOpt_Issue` element. 
    
    // If the `ClickAction` happens in the following range where the 'CHECKBOX' image is drawn:
    if( x >= ( level + 1 ) * 8
        and x < ( level + 2 ) * 8 
      )
    {
      // Then, toggle the `IsSeen` value for the `LibOpt_Issue` element.
      element.ToggleIsSeen();
    }
  *]
  CanBindMultiple: false
  DefinitionID: 'Responsedef_List_OnClickElement'
}