Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
did anybody manage to clear, unclear, lock, unlock any field (by the given field name) from within an object extension?
There are some related methods in the JS API but not what I am exactly searching for:
Thanks in advance for your advices and ideas!
Regards
Stefan
Hi Stefan,
theoretically you should be able to apply function ClearSelections(), Lock(), Unlock() to specific list boxes as well.
For ClearSelections() it works fine for me, but not for Lock() and Unlock().
var doc = Qv.GetCurrentDocument();
var lb1 = doc.GetObject("LB06");
button.click(function() { lb1.Data.ClearSelections(); });
This is the syntax I used to deleselecting a specific element that was not in the extension objects data table.
Best regards,
Tobias