陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Quintiq file version 2.0
#parent: MatrixEditor
Response OnClick (
  structured[LibOpt_BT_TrackingTableCell] object
) id:Response_FormCellsMatrix_MenuDeleteRow_OnClick
{
  #keys: '[139596.0.933323299]'
  Body:
  [*
    // Delete a LibOpt_BT_TrackingTableRow
    if ( MessageBox::Question( this, 'Are you sure you want to delete the selected Row?', '&Yes|&No' ) = 0 )
    {
      rows := construct(LibOpt_BT_TrackingTableRows);
      rows.AddInPlace( selectset( object, Elements.Row, row, true ) );
      LibOpt_BT_TrackingTableRow::Delete( rows );
    }
  *]
  CanBindMultiple: false
  DefinitionID => /Responsedef_FormCellsMatrix_MatrixEditor_Menu_OnClick_48
  Initiator: 'MenuDeleteRow'
  Precondition:
  [*
    /*rows := construct(LibOpt_BT_TrackingTableRows);
    rows.Add( object.Row() );
    //return LibOpt_BT_TrackingTableRow::IsRunningPrecondition( rows );
  *]
}