Hi,
i have a big problem with that…
it is, as follows:
I redirect a form event in the constructor of a user-defined class to a method of that class.
On Event PostRecalc from uidoc Call [classMethod]
On my form is a layout region with a dialogListBox, which is set to:
refresh fields on keyword change and
refresh options on document refresh
when i change the option of that dialoglistBox, a document refresh is triggered, and the postrecalc event is redirected to my class-method, that works fine.
Now, my problem is now, that in that method the backend field is gonna be changed, where the options of the dialoglistbox are based on, and therefore i have to make another refresh, to update the options of that box.
There´s the point, where a infinite loop would occur and Notes prevents that and gives the msg “attempt to execute…”.
My idea was, to remove the redirection (On Event…Remove…) before i call uidoc.refresh and switch it back on again, afterwards, but Notes seems to have problems with that (“attempt to execute…”.)
It doesn´t work.
Anyone have a idea, how it could work?
Thanks in advance.
Julian