I am not sure I understand your code; are you not supposed to populate the arrays AFTER you call FORM LOAD (unless the listbox already exists in the current form) ?
> 2017/08/14 23:29、Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> のメール: > > I tried with the name as well. It works that way too, but not when run as a > component. > > SET PRINT PREVIEW(True) > If (OK=1) > > ARRAY LONGINT(aA;0) > ARRAY TEXT(aB;0) > For ($i;1;10) > APPEND TO ARRAY(aA;$i) > APPEND TO ARRAY(aB;"Text"+String($i)) > End for > > OPEN PRINTING JOB > FORM LOAD("Form1") > $all:=Print object(*;"ListBox") > CLOSE PRINTING JOB > > End if ********************************************************************** 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 **********************************************************************