Re: Scroll position of display-type subform
The only time I see it change is when I click on a line to select it or deselect it. Alan On Tue, May 14, 2019 at 5:59 PM Alan Tilson wrote: > No, it doesn't. Looks like you need to change the current record or > current selection. > Alan > >- *Records in list*: The current record or the current selection of >rows is modified in a list form or subform > > > On Tue, May 14, 2019 at 4:41 PM Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> Alan, >> does the form event: On Selection Change >> fire during scrolling? >> >> Chip >> On Tue, 14 May 2019 16:04:00 -0400, Alan Tilson wrote: >> > Chip, >> > Thank you for your thoughts on this. However, in this case I'm >> > recalculating the entire list and also I'm not using a listbox, it's a >> > regular output form. >> > On Display Detail doesn't fire with scrolling or after using apply to >> > selection...so I can't create a user set >> > even tried POST CLICK to create a user set but it happens after >> everything >> > runs which doesn't help >> > anyway, thanks! >> > Alan >> > >> > On Tue, May 14, 2019 at 2:46 PM Chip Scheide <4d_o...@pghrepository.org >> > >> > wrote: >> > >> >> I think you can save yourself some work. >> >> >> >> if you are working on a record (which is displayed) then... >> >> try this: >> >> do the recalc >> >> (you could clear it first) >> >> ADD the record to the listbox selection set >> >> use your named selection >> >> >> >> I *think* 4D will scroll the display to show the highlighted record. >> >> >> >> if not >> >> you should be able to get the location of that record >> >> then scroll to that location - the record that was worked on is now >> >> highlighted so the user can see the result >> >> >> >> Chip >> >> >> >> On Tue, 14 May 2019 14:22:36 -0400, Alan Tilson wrote: >> >>> Hello Chip, >> >>> >> >>> The issue is how do I determine where the scroll is or which record is >> >>> displayed first, so that highlight records can do it's thing. >> >>> >> >>> So if there is a list of records and I use the scroll wheel to scroll >> >>> somewhere, then I run some code that recalculates a field 4d doesn't >> >> update >> >>> the display. So my workaround is to cut and use a named selection to >> get >> >>> the fields updated. But it goes back to the top of the list of records >> >>> unless there is a record in userset when I can highlight records to >> get >> >>> where I want to be. >> >>> >> >>> I could clear the user set with the recalc and add the first record to >> >> hit >> >>> on display detail back to the userset... >> >>> >> >>> then highlight records to scroll down, clear user set, highlight >> again to >> >>> clear highlight, might work... >> >>> >> >>> I just don't get why 4d diminished the functionality of redraw window >> to >> >>> make all this necessary! >> >>> >> >>> Alan >> >>> >> >>> On Mon, May 13, 2019 at 10:00 AM Chip Scheide < >> 4d_o...@pghrepository.org >> >>> >> >>> wrote: >> >>> >> >>>> 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 >> >>>> wrote: >> >>>>> >> >>>>>> If I have selected a record HIGHLIGHT RECORDS works fine, but >> often I >> >>>>>> haven't. >> >>>>>> Alan >> >>>>>> >> >&
Re: Scroll position of display-type subform
No, it doesn't. Looks like you need to change the current record or current selection. Alan - *Records in list*: The current record or the current selection of rows is modified in a list form or subform On Tue, May 14, 2019 at 4:41 PM Chip Scheide <4d_o...@pghrepository.org> wrote: > Alan, > does the form event: On Selection Change > fire during scrolling? > > Chip > On Tue, 14 May 2019 16:04:00 -0400, Alan Tilson wrote: > > Chip, > > Thank you for your thoughts on this. However, in this case I'm > > recalculating the entire list and also I'm not using a listbox, it's a > > regular output form. > > On Display Detail doesn't fire with scrolling or after using apply to > > selection...so I can't create a user set > > even tried POST CLICK to create a user set but it happens after > everything > > runs which doesn't help > > anyway, thanks! > > Alan > > > > On Tue, May 14, 2019 at 2:46 PM Chip Scheide <4d_o...@pghrepository.org> > > wrote: > > > >> I think you can save yourself some work. > >> > >> if you are working on a record (which is displayed) then... > >> try this: > >> do the recalc > >> (you could clear it first) > >> ADD the record to the listbox selection set > >> use your named selection > >> > >> I *think* 4D will scroll the display to show the highlighted record. > >> > >> if not > >> you should be able to get the location of that record > >> then scroll to that location - the record that was worked on is now > >> highlighted so the user can see the result > >> > >> Chip > >> > >> On Tue, 14 May 2019 14:22:36 -0400, Alan Tilson wrote: > >>> Hello Chip, > >>> > >>> The issue is how do I determine where the scroll is or which record is > >>> displayed first, so that highlight records can do it's thing. > >>> > >>> So if there is a list of records and I use the scroll wheel to scroll > >>> somewhere, then I run some code that recalculates a field 4d doesn't > >> update > >>> the display. So my workaround is to cut and use a named selection to > get > >>> the fields updated. But it goes back to the top of the list of records > >>> unless there is a record in userset when I can highlight records to get > >>> where I want to be. > >>> > >>> I could clear the user set with the recalc and add the first record to > >> hit > >>> on display detail back to the userset... > >>> > >>> then highlight records to scroll down, clear user set, highlight again > to > >>> clear highlight, might work... > >>> > >>> I just don't get why 4d diminished the functionality of redraw window > to > >>> make all this necessary! > >>> > >>> Alan > >>> > >>> On Mon, May 13, 2019 at 10:00 AM Chip Scheide < > 4d_o...@pghrepository.org > >>> > >>> wrote: > >>> > >>>> 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 > >>>> 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 > >>>> 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 > >>>>>>> > >>>>&g
Re: Scroll position of display-type subform
Alan, does the form event: On Selection Change fire during scrolling? Chip On Tue, 14 May 2019 16:04:00 -0400, Alan Tilson wrote: > Chip, > Thank you for your thoughts on this. However, in this case I'm > recalculating the entire list and also I'm not using a listbox, it's a > regular output form. > On Display Detail doesn't fire with scrolling or after using apply to > selection...so I can't create a user set > even tried POST CLICK to create a user set but it happens after everything > runs which doesn't help > anyway, thanks! > Alan > > On Tue, May 14, 2019 at 2:46 PM Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> I think you can save yourself some work. >> >> if you are working on a record (which is displayed) then... >> try this: >> do the recalc >> (you could clear it first) >> ADD the record to the listbox selection set >> use your named selection >> >> I *think* 4D will scroll the display to show the highlighted record. >> >> if not >> you should be able to get the location of that record >> then scroll to that location - the record that was worked on is now >> highlighted so the user can see the result >> >> Chip >> >> On Tue, 14 May 2019 14:22:36 -0400, Alan Tilson wrote: >>> Hello Chip, >>> >>> The issue is how do I determine where the scroll is or which record is >>> displayed first, so that highlight records can do it's thing. >>> >>> So if there is a list of records and I use the scroll wheel to scroll >>> somewhere, then I run some code that recalculates a field 4d doesn't >> update >>> the display. So my workaround is to cut and use a named selection to get >>> the fields updated. But it goes back to the top of the list of records >>> unless there is a record in userset when I can highlight records to get >>> where I want to be. >>> >>> I could clear the user set with the recalc and add the first record to >> hit >>> on display detail back to the userset... >>> >>> then highlight records to scroll down, clear user set, highlight again to >>> clear highlight, might work... >>> >>> I just don't get why 4d diminished the functionality of redraw window to >>> make all this necessary! >>> >>> Alan >>> >>> On Mon, May 13, 2019 at 10:00 AM Chip Scheide <4d_o...@pghrepository.org >>> >>> wrote: >>> >>>> 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 >>>> 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 >>>> 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 >>>>>>>>> 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" >>>>>>
Re: Scroll position of display-type subform
Chip, Thank you for your thoughts on this. However, in this case I'm recalculating the entire list and also I'm not using a listbox, it's a regular output form. On Display Detail doesn't fire with scrolling or after using apply to selection...so I can't create a user set even tried POST CLICK to create a user set but it happens after everything runs which doesn't help anyway, thanks! Alan On Tue, May 14, 2019 at 2:46 PM Chip Scheide <4d_o...@pghrepository.org> wrote: > I think you can save yourself some work. > > if you are working on a record (which is displayed) then... > try this: > do the recalc > (you could clear it first) > ADD the record to the listbox selection set > use your named selection > > I *think* 4D will scroll the display to show the highlighted record. > > if not > you should be able to get the location of that record > then scroll to that location - the record that was worked on is now > highlighted so the user can see the result > > Chip > > On Tue, 14 May 2019 14:22:36 -0400, Alan Tilson wrote: > > Hello Chip, > > > > The issue is how do I determine where the scroll is or which record is > > displayed first, so that highlight records can do it's thing. > > > > So if there is a list of records and I use the scroll wheel to scroll > > somewhere, then I run some code that recalculates a field 4d doesn't > update > > the display. So my workaround is to cut and use a named selection to get > > the fields updated. But it goes back to the top of the list of records > > unless there is a record in userset when I can highlight records to get > > where I want to be. > > > > I could clear the user set with the recalc and add the first record to > hit > > on display detail back to the userset... > > > > then highlight records to scroll down, clear user set, highlight again to > > clear highlight, might work... > > > > I just don't get why 4d diminished the functionality of redraw window to > > make all this necessary! > > > > Alan > > > > On Mon, May 13, 2019 at 10:00 AM Chip Scheide <4d_o...@pghrepository.org > > > > wrote: > > > >> 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 > >> 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 > >> 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 > >>>>>>> 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
Re: Scroll position of display-type subform
I think you can save yourself some work. if you are working on a record (which is displayed) then... try this: do the recalc (you could clear it first) ADD the record to the listbox selection set use your named selection I *think* 4D will scroll the display to show the highlighted record. if not you should be able to get the location of that record then scroll to that location - the record that was worked on is now highlighted so the user can see the result Chip On Tue, 14 May 2019 14:22:36 -0400, Alan Tilson wrote: > Hello Chip, > > The issue is how do I determine where the scroll is or which record is > displayed first, so that highlight records can do it's thing. > > So if there is a list of records and I use the scroll wheel to scroll > somewhere, then I run some code that recalculates a field 4d doesn't update > the display. So my workaround is to cut and use a named selection to get > the fields updated. But it goes back to the top of the list of records > unless there is a record in userset when I can highlight records to get > where I want to be. > > I could clear the user set with the recalc and add the first record to hit > on display detail back to the userset... > > then highlight records to scroll down, clear user set, highlight again to > clear highlight, might work... > > I just don't get why 4d diminished the functionality of redraw window to > make all this necessary! > > Alan > > On Mon, May 13, 2019 at 10:00 AM Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> 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 >> 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 >> 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 >>>>>>> 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 >> --- 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 **
Re: Scroll position of display-type subform
Hello Chip, The issue is how do I determine where the scroll is or which record is displayed first, so that highlight records can do it's thing. So if there is a list of records and I use the scroll wheel to scroll somewhere, then I run some code that recalculates a field 4d doesn't update the display. So my workaround is to cut and use a named selection to get the fields updated. But it goes back to the top of the list of records unless there is a record in userset when I can highlight records to get where I want to be. I could clear the user set with the recalc and add the first record to hit on display detail back to the userset... then highlight records to scroll down, clear user set, highlight again to clear highlight, might work... I just don't get why 4d diminished the functionality of redraw window to make all this necessary! Alan On Mon, May 13, 2019 at 10:00 AM Chip Scheide <4d_o...@pghrepository.org> wrote: > 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 > 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 > 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 > >>>>> 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 **
Re: Scroll position of display-type subform
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 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 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 >>>>> 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 **
Re: Scroll position of display-type subform
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 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 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 >>> > 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 **
Re: Scroll position of display-type subform
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 > > 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 **
Re: Scroll position of display-type subform
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 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 >> > 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 **
Re: Scroll position of display-type subform
Thanks, Miyako, that works! > From: Keisuke Miyako > 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 **
Re: Scroll position of display-type subform
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 **
Scroll position of display-type subform
Does anyone know how to get the scroll position of a display-type subform? OBJECT GET SCROLL POSITION apparently works only for list-type subforms. I need to get the position of an object on a display-type subform in global coordinates and the subform may be scrolled. Richard Wright DataDomain rwri...@datadomainsoftware.com ** 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 **