This submitted to the Harbour SF as feature request (I just forward it as is)
https://sourceforge.net/tracker/index.php?func=detail&aid=2122754&group_id=681&atid=350681

---------------------------------------------
is it possible for you to implement a "data trigger" (for vars, fields,
object and so on) defining a code block called when the object changes his
value...
example of code
function main()
local nvar as numeric
nvar := 1
//
// set trigger (for example)
//
_set_trigger("nvar",{|cName,Value| qout(cName+" new value:"+str(Value)}
// trigger is called immediately after nvar value change
nvar++
return NIL

result:
NVAR new value: 2
---------------------------------------------


  Chen.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to