Hello Community!
I want to use a function able to bring occurrences to front. Can someone help me please?
I've tried the function "toFront(model, occs [])" but is not working because I don't know what is the object who calls the function.
Thanks in advance!
Regards,
Dilcarina
Hello Dilcarina,
from what I gather in the documentation, it is the macro API object "Designer", so it would be
Designer.toFront(oModel, aOccs)
Just a guess: the model probably needs to be opened before. If you are writing a report, you cannot use that function. In a report it should be the method
setZOrder ( int p_iZOrder )
of the Occ object, but I don't know if higher or lower z values bring the occurrence to the front.
Regards, M. Zschuckelt