Another key concept to be aware of when working with Write Pro is that is that 
features are additive. In Write Classic all its features were available by 
default and you had to restrict or remove features as needed via code. In Write 
Pro only the most basic features are available by default leaving you to add 
the ones you want, via code.

Write Pro is very well suited to the “lease or contract” use case you described 
Kirk. You could have various template pieces for different parts of the 
contract which could be dragged into a WP area.

There is lots of documentation for Write Pro. Unfortunately it is spread 
through the 4D Write Pro Reference, 4D Language Reference, 4D Design Reference, 
4D Tech Notes and the 4D Blog. You may wish to spend a few days (or weeks) 
browsing the various resources before you begin. I’ve spent over 3 months 
converting our app to Write Pro and have only scratched the surface. The 4D 
technical team members on forums.4d.fr are quite responsive.

HTH,

Tom Benedict

> On Oct 12, 2019, at 11:38, Jeremy French via 4D_Tech <[email protected]> 
> wrote:
> 
> Hi Kirk,
> 
> I think you would let the user create templates by:
> 
> 1) creating the template document in 4D Write; and
> 2) dragging value placeholders (you defined) into the document to retrieve 
> database information.
> 
> Unlike the legacy 4D Write, working programmatically with 4D Write Pro means:
> 
> 1) using Write Pro commands; and
> 2) mixing-in commands from the 4D language.
> 
> For embedding expressions in a Write Pro document, have you looked at these 
> Styled Text commands?
> 
> 1) ST INSERT EXPRESSION (to embed reference in template document)
> 2) ST COMPUTE EXPRESSION (to get reference values)
> 3) ST SET OPTIONS (to switch display of reference and value of reference)
> 
> Best regards,
> Jeremy French
> 
> 
>> On Oct 11, 2019, at 7:22 PM, Kirk Brooks via 4D_Tech <[email protected]> 
>> wrote:
>> 
>> my own template
>> management
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to