Re: Print Project Form

2017-07-17 Thread Robert Livingston via 4D_Tech

> On Jul 16, 2017, at 3:41 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> the command is called Print form, it can not be more obvious!

Keisuke: Thanks for taking time to reply


In my world, things are often not obvious.

In this case the reason is that the documentation refers to a first parameter 
as being optional {aTable}, but if it is not provided then it uses the Default 
Table.
I could not understand what the Default Table of a Project Form would be.

The fact that this command, Print form,  had this parameter scared me off of it.

Your reply got me burrowing a little deeper in the documentation. The 
discussion of the command

NO DEFAULT TABLE

has, I believe, clarified for me the whole issue of this first parameter in 
form commands. 

I have certainly used the analogous DIALOG command on project forms blithely 
ignoring the {aTable} first parameter without any problem so I can see why one 
might wonder how any such person could trip up when considering  Print form. 

But I managed :)



****************

Print form ( {aTable ;} form {; area1 {; area2}} ) -> Function result   

Parameter  Type  Description
aTable Table --> Table owning the form, or Default 
table, if omitted
form   String--> Form to print
area1  Longint   --> Print marker, or Beginning area 
(if area2 is specified)
area2  Longint   --> Ending area (if area1 specified)
Function resultLongint <--   Height of printed section




Cheers,

RRL

**
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
**

Re: Print Project Form

2017-07-16 Thread Keisuke Miyako via 4D_Tech
the command is called Print form, it can not be more obvious!

http://doc.4d.com/4D-Language-Reference-15.4/Printing/Print-form.301-3273939.en.html

> 2017/07/17 6:26、Robert Livingston via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Is it possible to print a project form?




**
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
**

Print Project Form

2017-07-16 Thread Robert Livingston via 4D_Tech
Is it possible to print a project form?

When I review the "print" functions, they always seem to refer to table forms.

I suppose I can use some table form in some "pseudo table" for what I am trying 
to do, but it would be more straight-forward if I could just print a project 
form


Thanks
**
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
**