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 );
|
*]
|
}
|