OK so for anybody's who's interested ...
It currently isn't possible to set these options in this way (i.e., when
creating a document entirely in code). A workaround would be to do
something like open a window containing a layout that contains a WritePro
area, apply the modifications to that area,
Hi Jeremy,
Yes, WP USE PAGE SETUP is called after INVOKE ACTION.
//Also remember that the 4D Write Pro area must have the focus when INVOKE
ACTION is called.
Therein may lie the problem. The document is being created in memory - it
isn't on a form. So I guess it does not have the focus.
So ...
Hello,
WP PAGE SETUP over writes all current print settings with that of the write pro
document, for the next print job. you should NOT use it when you are using
regular SET PRINT OPTION to specify the paper and orientation.
Hi Pat,
Have you tried calling the command WP USE PAGE SETUP *after* INVOKE ACTION?
That is, the following call sequence works:
INVOKE ACTION
WP USE PAGE SETUP
WP PRINT
Also remember that the 4D Write Pro area must have the focus when INVOKE ACTION
is called.
Best regards,
Jeremy
> On Mar
Nope ... as you pointed out, it's not a printing issue. It's a "saving the
specified settings" issue. INVOKE ACTION isn't used at all in that HDI
example.
On 22 March 2018 at 15:02, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com>
wrote:
> perhaps the HDI demos might help:
>
>
Thanks - there are so many places to look for commands that affect WritePro
areas, I sometimes forget about that one :)
is your question about the checkmark missing in the contextual popup menu?
Yes, that is one part of the question.
Unfortunately this still doesn't work.
I am creating documents
Hello,
the commands
is your question about the checkmark missing in the contextual popup menu?
SET PRINT OPTION is a printing command,
to change the document size of the Write Pro doc itself,
I think you need to INVOKE ACTION
7 matches
Mail list logo