Thanks Paul. In this case all the arrays are of equal length and all have data.
The array returned by LISTBOX GET ARRAYS shows the expected results. On Fri, Jan 27, 2017 at 1:13 PM, Paul Ringsmuth <pringsm...@charter.net> wrote: > I was just reading about list boxes today. If any of the columns have no > data, you will get a selection of no records. > > The number of rows shown will equal the shortest row of data in any column. > > Paul Ringsmuth > 515 Aberdeen Dr > Waite Park, MN 56387 > 320-223-2747 > pringsm...@charter.net > > > > On Jan 27, 2017, at 3:07 PM, Lee Hinde <leehi...@gmail.com> wrote: > > > > I’m trying to populate a listbox. > > > > After building a bunch of generically named arrays, I pass them all in. > > > > I’m getting headers, but no data. > > > > The list box get arrays command at the bottom reflects what I intend to > happen, but the data isn’t showing up > > > > Something simple, I assume, that you all figured out years ago. > > > > For ($prop_index;1;$property_count) > > C_TEXT($col_name) > > $col_name:="$array_"+String($prop_index) > > $get_pointer:=Get pointer($col_name) > > > > $col_header_name:="$header_text_"+String($prop_index) > > $get_header_ptr:=Get pointer($col_header_name) > > > > LISTBOX INSERT COLUMN(*;$list_box_name;$prop_ > index;$col_name;$get_pointer->;$col_header_name;$get_header_ptr->) > > OBJECT SET TITLE($get_header_ptr->;$lb_ > property_names{$prop_index}) > > > > End for > > > > $count:=LISTBOX Get number of columns(*;$list_box_name) > > LISTBOX GET ARRAYS(*;$list_box_name;arrColNames;arrHeaderNames; > arrColVars;arrHeaderVars;arrColsVisible;arrStyles) > > > > ********************************************************************** 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 **********************************************************************