Skip to content

AfterDeleteRecordRow

This event is triggered after a record row has been deleted.

Parameters

ParameterDescription
modelid (idValue, optional) -ue, ID of the changed model.
instidintValue, ID of the changed instance (owner of the record).
attridintValue, ID of the RECORD attribute.
posintValue, Position of the new row (1 = first).

Exit value:

Remarks

See Also

Example

The following example displays the predefined parameters after deleting a record row.

leo-grammar
	ON_EVENT "AfterDeleteRecordRow" {
	SET id_ModelId: (modelid)
	SET id_InstId: (instid) 
	SET id_AttrId: (attrid)  
	SET int_PosInt: (pos) 
	SET id_RowId: (rowid)

	CC "AdoScript"  LISTBOX entries: ("Modelid   " + STR(id_ModelId)  + "$InstanceId   " + STR(id_InstId) + 
	"$AttributeId  " + STR(id_AttrId) + "$Position  " + STR(int_PosInt))  
	toksep: "$"
	}
	ON_EVENT "AfterDeleteRecordRow" {
	SET id_ModelId: (modelid)
	SET id_InstId: (instid) 
	SET id_AttrId: (attrid)  
	SET int_PosInt: (pos) 
	SET id_RowId: (rowid)

	CC "AdoScript"  LISTBOX entries: ("Modelid   " + STR(id_ModelId)  + "$InstanceId   " + STR(id_InstId) + 
	"$AttributeId  " + STR(id_AttrId) + "$Position  " + STR(int_PosInt))  
	toksep: "$"
	}