you could set the highlight row, then do whatever, then set the scroll position back and (if needed) un set the highlight row
Chip On Sat, 11 May 2019 10:06:22 -0400, Alan Tilson via 4D_Tech wrote: > Hello again, > What I meant if it wasn't clear is can I get this to work with an Output > Form showing a list of records? > Thanks! > Alan > > On Fri, May 10, 2019 at 5:31 PM Alan Tilson <alantil...@gmail.com> wrote: > >> If I have selected a record HIGHLIGHT RECORDS works fine, but often I >> haven't. >> Alan >> >> On Fri, May 10, 2019 at 5:30 PM Alan Tilson <alantil...@gmail.com> wrote: >> >>> Hello out there, >>> I cannot get OBJECT GET SCROLL POSITION to work with a list form. >>> OBJECT GET SCROLL POSITION([table]field;scrollPosition) leaves >>> scrollPosition at zero, wherever I have scrolled. >>> Thanks! >>> Alan >>> >>> On Tue, Jun 12, 2018 at 6:31 PM Richard Wright via 4D_Tech < >>> 4d_tech@lists.4d.com> wrote: >>> >>>> Thanks, Miyako, that works! >>>> >>>> >>>>> From: Keisuke Miyako <keisuke.miy...@4d.com> >>>>> To: 4D iNug Technical <4d_tech@lists.4d.com> >>>>> Subject: Re: Scroll position of display-type subform >>>>> Message-ID: <30f1fc18-68d9-4b1b-9413-aba4d7db5...@4d.com> >>>>> Content-Type: text/plain; charset="utf-8" >>>>> >>>>> haven't tried, >>>>> but I wonder if CONVERT COORDINATES would be smart enough to take into >>>> account the scrolled amount of a detail subform. >>>>> >>>>> >>>> http://doc.4d.com/4Dv16/4D/16.3/CONVERT-COORDINATES.301-3651760.en.html >>>>> >>>>>> 2018/06/12 7:37、Richard Wright via 4D_Tech <4d_tech@lists.4d.com> >>>> のメール: >>>>>> I need to get the position of an object on a display-type subform in >>>> global coordinates and the subform may be scrolled. >>>>> >>>> >>>> ********************************************************************** >>>> 4D Internet Users Group (4D iNUG) >>>> FAQ: http://lists.4d.com/faqnug.html >>>> Archive: http://lists.4d.com/archives.html >>>> Options: https://lists.4d.com/mailman/options/4d_tech >>>> Unsub: mailto:4d_tech-unsubscr...@lists.4d.com >>>> ********************************************************************** >>> >>> > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************