Chip: Hmm…
Find in array with pointer arrays was introduced quite some time ago. That was one of the new features in 2.2.3 or it *could* have been a feature in V3. I think it was V2 because I was working on a project where I really needed that functionality (GANTT charts in AreaList Pro!!) and that project never saw the light of day with 4D Server/4D Client. -- Douglas von Roeder 949-336-2902 On Tue, Oct 4, 2016 at 1:30 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > Given an array of pointers (in this case pointers to fields) > > Find in Array will find a pointer to the a field, if it exists, in the > array! > > Ex: > using Get Listbox Arrays, on a selection listbox, we populate > aryptr_Column_Vars with pointers to the fields being displayed. > We populate $My_Pointer with a pointer to one of the fields > $My_Pointer := ->[Taale1]Field1 > > (assuming [Table1]Field1 is displayed in the listbox) > > Find In Array(aryptr_Column_Vars;$My_Pointer) returns the location > (column number) of the field pointer in the array > > Chip > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************