Make selection visible for table/frame
Dear all,
In my script FMGraph I collect tables and anchored frames in arrays of objects (aoObjects). An arry element contains
aoObjects[iObject].Name // User string from the object
aoObjects[iObject].Obj // the object (Tbl, AFrame)
aoObjects[iObject].TL // text loction of object (anchor paragraph)
When I then navigate to a particular object i want to see that it is selected (there may be multiple tables/frames on a page).
oTL = aoObjects[iObject].TL;
oTR = new TextRange(oTL, oTL);
oDoc.TextSelection = oTR;
oDoc.ScrollToText(oTR);
selects the anchor point - not the object itself. How to select the object to make the selection visible?

