Re: Replacement Code for very old DisplayList plugin
If AreaListPro is the same price and if it is the same as the old DisplayList plugin then that would certainly be the easiest approach. The question for me would be whether I prefer to use a component of plugin. For me the component. > On Jan 7, 2019, at 10:34 AM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > If you want the easiest path to replace the DisplayList plugin I would highly > recommend Tony’s DisplayList4D. > > ALL of the Displaylist plugin commands are replicated in the component. For > example SetListHeaders becomes DL_SetlistHeaders, SetListButtons becomes > DL_SetListButtons, etc. So it is really easy to do a global find and replace. > > I think the majority of the component commands and functions work exactly as > they did in the plugin so require nothing more to be done. So your > multi-selection requirement works exactly as it does in the plugin.. > > There are, however, several that work a bit differently. For example the > DisplayList now DL_Displaylist function has an extra parameter to start and > the arrays are passed as pointers instead of array names, without a 15 army > limit. > > There are enhancements as well, more than 1 hidden array for example. I use > DisplayList in all of my databases, actually cannot live without it. When in > 2014 I could no longer use the DisplayList plugin, I had already let go of > ArealistPro in favor of native 4D list boxes. So Tony;s component was a > godsend. It was really quite easy to implement, extremely well written and > documented. Certainly quicker and easier than any other approach. > > > John > > > >> On Jan 7, 2019, at 6:41 AM, Philippe Ganter via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> And the AreaList Pro license is 90€, which roughly amounts to the same… and >> includes hundreds of other features. >> >> www.e-node.net/alp >> >> Best regards, >> -- >> Phil >> >> >> >>> On 7 Jan 2019, at 01:17, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> >>> wrote: >>> >>> Tony Ringsmuth, http://bbsp.com, has an excellent component called >>> DisplayList4D ($99.00 if you like it). >>> >>> John >>> >>> >>> John Baughman >>> 1331 Auwaiku Street >>> Kailua, Hawaii 96734 >>> (808) 262-0328 >>> john...@hawaii.rr.com >>> On Jan 6, 2019, at 1:05 PM, Walt Nelson via 4D_Tech <4d_tech@lists.4d.com> wrote: Folks, I recently inherited a VERY, VERY old database that uses the DisplayList plugin. They need this updated to run in 4D v16. Before reinvented the wheel… I was wondering if anyone has written a component/set of code that replaces the functionality of DisplayList (this is a volunteer effort - therefore, they can’t afford a new AreaList license - I see that DisplayList has been rolled into AreaList now). All they need is the ability to select from a dialog with 3 arrays in it and return the multiple rows that were selected by the user in a returning array. Foundation Shell has the command Fnd_List_ChoiceList which would be perfect, but it was designed only for a single row selection. I need the option of multiple row selection from the old DisplayList. Thanks, Walt >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ** >> 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 >> ** > > ** > 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 > ** ** 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: Replacement Code for very old DisplayList plugin
If you want the easiest path to replace the DisplayList plugin I would highly recommend Tony’s DisplayList4D. ALL of the Displaylist plugin commands are replicated in the component. For example SetListHeaders becomes DL_SetlistHeaders, SetListButtons becomes DL_SetListButtons, etc. So it is really easy to do a global find and replace. I think the majority of the component commands and functions work exactly as they did in the plugin so require nothing more to be done. So your multi-selection requirement works exactly as it does in the plugin.. There are, however, several that work a bit differently. For example the DisplayList now DL_Displaylist function has an extra parameter to start and the arrays are passed as pointers instead of array names, without a 15 army limit. There are enhancements as well, more than 1 hidden array for example. I use DisplayList in all of my databases, actually cannot live without it. When in 2014 I could no longer use the DisplayList plugin, I had already let go of ArealistPro in favor of native 4D list boxes. So Tony;s component was a godsend. It was really quite easy to implement, extremely well written and documented. Certainly quicker and easier than any other approach. John > On Jan 7, 2019, at 6:41 AM, Philippe Ganter via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > And the AreaList Pro license is 90€, which roughly amounts to the same… and > includes hundreds of other features. > > www.e-node.net/alp > > Best regards, > -- > Phil > > > >> On 7 Jan 2019, at 01:17, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Tony Ringsmuth, http://bbsp.com, has an excellent component called >> DisplayList4D ($99.00 if you like it). >> >> John >> >> >> John Baughman >> 1331 Auwaiku Street >> Kailua, Hawaii 96734 >> (808) 262-0328 >> john...@hawaii.rr.com >> >>> On Jan 6, 2019, at 1:05 PM, Walt Nelson via 4D_Tech <4d_tech@lists.4d.com> >>> wrote: >>> >>> Folks, >>> >>> I recently inherited a VERY, VERY old database that uses the DisplayList >>> plugin. They need this updated to run in 4D v16. >>> >>> Before reinvented the wheel… >>> >>> I was wondering if anyone has written a component/set of code that replaces >>> the functionality of DisplayList (this is a volunteer effort - therefore, >>> they can’t afford a new AreaList license - I see that DisplayList has been >>> rolled into AreaList now). >>> >>> All they need is the ability to select from a dialog with 3 arrays in it >>> and return the multiple rows that were selected by the user in a returning >>> array. >>> >>> Foundation Shell has the command Fnd_List_ChoiceList which would be >>> perfect, but it was designed only for a single row selection. >>> >>> I need the option of multiple row selection from the old DisplayList. >>> >>> Thanks, >>> Walt > > > > > > > > > > > > > > > > > > > > > > ** > 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 > ** ** 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: Replacement Code for very old DisplayList plugin
And the AreaList Pro license is 90€, which roughly amounts to the same… and includes hundreds of other features. www.e-node.net/alp Best regards, -- Phil > On 7 Jan 2019, at 01:17, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Tony Ringsmuth, http://bbsp.com, has an excellent component called > DisplayList4D ($99.00 if you like it). > > John > > > John Baughman > 1331 Auwaiku Street > Kailua, Hawaii 96734 > (808) 262-0328 > john...@hawaii.rr.com > >> On Jan 6, 2019, at 1:05 PM, Walt Nelson via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Folks, >> >> I recently inherited a VERY, VERY old database that uses the DisplayList >> plugin. They need this updated to run in 4D v16. >> >> Before reinvented the wheel… >> >> I was wondering if anyone has written a component/set of code that replaces >> the functionality of DisplayList (this is a volunteer effort - therefore, >> they can’t afford a new AreaList license - I see that DisplayList has been >> rolled into AreaList now). >> >> All they need is the ability to select from a dialog with 3 arrays in it and >> return the multiple rows that were selected by the user in a returning array. >> >> Foundation Shell has the command Fnd_List_ChoiceList which would be perfect, >> but it was designed only for a single row selection. >> >> I need the option of multiple row selection from the old DisplayList. >> >> Thanks, >> Walt ** 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: Replacement Code for very old DisplayList plugin
Walt, Not sure how much hiding of the listbox(es) Foundation does, as I do not use it... but if can get access to the listbox(es) before display, and after user interaction you can loop over the displayed arrays looking for the value of TRUE Before display: Set the listbox(es) Selection Mode (property) to multiple. NOTE: I do not have v16's documentation handy, but as of v15 it is not possible to set the selection mode on a listbox via code. In v16 this maybe possible. In code after user dialog acceptance: Repeat $Found := Find in array(Listbox_Name;True) if ($Found>0) append to array($User_Selected_Row_Numbers;$Found) end if // alternatively if ($Found > 0) Do_stuff_with_Selected_Row end if until ($Found < 0) On Sun, 6 Jan 2019 15:05:42 -0800, Walt Nelson via 4D_Tech wrote: > Folks, > > I recently inherited a VERY, VERY old database that uses the > DisplayList plugin. They need this updated to run in 4D v16. > > Before reinvented the wheel… > > I was wondering if anyone has written a component/set of code that > replaces the functionality of DisplayList (this is a volunteer effort > - therefore, they can’t afford a new AreaList license - I see that > DisplayList has been rolled into AreaList now). > > All they need is the ability to select from a dialog with 3 arrays in > it and return the multiple rows that were selected by the user in a > returning array. > > Foundation Shell has the command Fnd_List_ChoiceList which would be > perfect, but it was designed only for a single row selection. > > I need the option of multiple row selection from the old DisplayList. > > Thanks, > Walt > > ** > 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: Replacement Code for very old DisplayList plugin
Tony Ringsmuth, http://bbsp.com, has an excellent component called DisplayList4D ($99.00 if you like it). John John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com > On Jan 6, 2019, at 1:05 PM, Walt Nelson via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Folks, > > I recently inherited a VERY, VERY old database that uses the DisplayList > plugin. They need this updated to run in 4D v16. > > Before reinvented the wheel… > > I was wondering if anyone has written a component/set of code that replaces > the functionality of DisplayList (this is a volunteer effort - therefore, > they can’t afford a new AreaList license - I see that DisplayList has been > rolled into AreaList now). > > All they need is the ability to select from a dialog with 3 arrays in it and > return the multiple rows that were selected by the user in a returning array. > > Foundation Shell has the command Fnd_List_ChoiceList which would be perfect, > but it was designed only for a single row selection. > > I need the option of multiple row selection from the old DisplayList. > > Thanks, > Walt > > ** > 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 > ** ** 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 **
Replacement Code for very old DisplayList plugin
Folks, I recently inherited a VERY, VERY old database that uses the DisplayList plugin. They need this updated to run in 4D v16. Before reinvented the wheel… I was wondering if anyone has written a component/set of code that replaces the functionality of DisplayList (this is a volunteer effort - therefore, they can’t afford a new AreaList license - I see that DisplayList has been rolled into AreaList now). All they need is the ability to select from a dialog with 3 arrays in it and return the multiple rows that were selected by the user in a returning array. Foundation Shell has the command Fnd_List_ChoiceList which would be perfect, but it was designed only for a single row selection. I need the option of multiple row selection from the old DisplayList. Thanks, Walt ** 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 **