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:[email protected]
**********************************************************************