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 

Keith
         http://www.compdim.com/ | https://www.apple.com/support/macbasics/

> On Aug 13, 2017, at 5:18 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> have you tried using the object name instead ?
> 
>> 2017/08/13 5:46、Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> $obj:=(->Box_Sum)
> 
> 
> 
> 
> **********************************************************************
> 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
**********************************************************************

Reply via email to