getlastobject

return information from last object

 

The system don't work with itemchange event. Only with itemchanged

To check last object, you can use this function to become all informations from the changed object

 

let info=document.getlastobject(property);

 

Property

Return type

Description

dw

string

return the Datawindow, on which has the focus

name

string

return the object name

row

number

return the row. first row = 1

type

string

return type of object

object

item

return the last changed item as item object

if (document.getlastobject("type")=="column") {
  let i=document.getlastobject("object");
  // ...
  }

 

// return value from last object:
alert(document.getlastobject("object").value);