New topic in Getting Started: 

Laying out a form without printing it

Bud - Mon Jun 09, 2008 5:08 pm

<http://forums.realsoftware.com/viewtopic.php?t=22826>
                                                                                
                                                                                
Hi to all!
    I have an application where I must layout a form and then print it after 
filling in the blocks with an array of data.  At this point, I have to have the 
form layout code and the data entry code all in one method.
    What I would like to do is put the form layout code in one method and then 
the data in another.  In this way, I can call the layout and then fill in the 
data.  However, if I read correctly, whenever the layout method looses scope, 
the form prints.  In VB, there is a NEWPAGE and ENDDOC and it you layout a form 
and don't declare the ENDDOC, the form stays put until you have entered what 
you want datawise and issue the ENDDOC.
     Under my understanding of REALBasic, I don't see how I can have a 
multi-form document because if the data array calls for it, I can't call a new 
form without it printing before the second load of data is entered.
     The documentation I have doesn't say a whole lot about printing.  I am 
using the graphics drawline/drawstring functionality to create and print my 
form.  Is there another way that I am missing that would do what I want to do?

Thanks for any insight provided!!

Bud                                     
                                                                                
                                                                                
                                                                                
                                                                                
                                        




-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to