getfocus

return information from the object, which current has the focus

 

let info=document.getfocus(property);

 

Property

Return type

Description

dw

string

return the Datawindow, on which has the focus

name

string

return the object name

objecttype

string

return the object type (column, bitmap, text, computed and so on)

row

number

return the row. first row = 1

object

item

return the current  item as item object

 

// return value from current object:
alert(document.getfocus("object").value);