Tips

Create a 4D Write Pro brochure in 5 minutes!

Automatically translated from English

Check out our video showing how easy it is to create an elegant brochure with 4D Write Pro, including the painter’s bio (his life, references and so on), as well as a collection of his paintings accompanied by descriptions. Finally, you’ll learn how to easily add a different front and back cover to complete the brochure.

Of course, creating other kinds of brochures, i.e. for real estate agencies, pharmaceutical laboratories, travel agencies, etc… is just as simple. So take a look and start coding now!

Product

4D Write Pro now supports picture expressions

Automatically translated from English

This blog post explores a 4D Write Pro-related functionality which will help you with the creation of complex documents, programmatically. Documents that can be either printed or sent by email.

An expression can now be a Picture! Handling pictures in your 4D Write Pro documents is becoming easier, offering vast possibilities. From now on, any expression returning a picture can be inserted. The most obvious cases are fields and variables, but it goes also for 4D functions and, last but not least, your own methods!

Product

Full size background pictures with 4D Write Pro

Automatically translated from English

There are common user stories where there is a need to have a background image fill the entire printable area, such as paper-folding lines or a watermark. It’s also sometimes required by a company’s graphic charter.

Thanks to a newly added style for background images, it is now possible to create background pictures filling the full page in 4D Write Pro! You can control this attribute, by either the 4D language or standard actions, or even by using the 4D Write Pro widget.

Product Manage Header and footer with 4D Write Pro

Programmatically manage headers and footers in 4D Write Pro

Automatically translated from English

We’ve received several customer requests to provide the ability to use the 4D Write Pro template with headers and footers to create other documents based on this template. Well, we heard you and this is available in 4D v16 R5.

A new set of commands have been added to 4D Write Pro to fulfill this need. Some of these commands can be used to get references of headers, body and footers inside documents. Others are handy to get a reference to the frame (header, footer, etc.) where the cursor is currently located, or to set the cursor into a specific frame.

Product

Easily design your own 4D Write Pro toolbar with standard actions

Automatically translated from English

You need a custom 4D Write Pro toolbar for your application but you’re concerned it might take too much time to implement it? Good news, with 4D v16 R4 standard actions can now be assigned to checkboxes and pop-up menus. Save time with this ready-to-use feature and easily create a user-friendly interface perfectly matching your needs!

You can now create a pop-up menu to control the font size or the border style for your 4D Write Pro area just in one click, no code needed! Just assign the action using the property list and it’s done. And the object status and value will be automatically updated by 4D depending on the context and text selection! Simple and powerful…

Product

Add an hyperlink to your company logo in 4D Write Pro

Automatically translated from English

A less well known usage of 4D Write Pro product is the production of HTML emails. In fact you can create a 4D Write Pro document including 4D expressions, text and images, then modify the document, paragraph or text properties and send it by email. In this context, a very common need is to add a link to a picture, e.g. your company logo.

4D Write Pro has been enhanced with 4D v16 R4 so that hyperlinks can now been added to text and/or pictures. Setting a link to your company logo or company name is now as easy as styling some text to bold.

Product

4D Write Pro supports tables!

Automatically translated from English

Your wish has finally come true, you can now insert and fill tables by programming in your 4D Write Pro documents. We are not talking about bar tabs mimicking tables here, this is all about “real” tables! Tables where the text will automatically wrap to fit into the column size you defined, that will not “break” when your data changes. 

This feature is the first major improvement exceeding the old 4D Write set of functionalities. You will now be able to generate invoices containing tables, fully by programming and style them exactly as you want with a few line of codes! Another scenario is that you can now provide your users with a button in your application UI that will insert a table with a predefined number of lines and rows, a predefined size for each column then you can let the user edit and style the content by itself.

Tips Design your menu in 4D Write Pro

Create your own contextual menu for 4D Write Pro

Automatically translated from English

4D gives you new possibilities to customize your 4D Write Pro user interface to make it perfectly fit your business application. Instead of using the default 4D Write Pro contextual menu, which is so detailed that it could become unpleasant to use, the 4D developer can create its own contextual menu, with the exact list of actions that he wants to provide.

Product 4D Write Pro Standard action

Create your own interface for 4D Write Pro

Automatically translated from English

You want to quickly create a menu bar to manage your 4D Write Pro areas? You want to create your own contextual menu for your end-users ? You would like to create a color mosaic to change the document background? So this feature is made for you – and better, you do not even need to write a single line of code…

We added standard actions to handle 4D Write Pro areas. They can be defined at design phase or by programming. More than 80+ actions are available and to name just some of them: Font style (bold, italic, underline), Font color, Background color, Text alignment (left, center, right, justify…), Borders (style, color, width, radius…), Spellchecker actions…

Something important to notice, when assigned to interface objects, standard actions automatically handle the activation/disabling of the object depending on the context. Easy!

Product

4D Write Pro – Horizontal Ruler

Automatically translated from English

With 4D v16 R2 you can display a graphical horizontal ruler at the top of the 4D Write Pro area ! Thanks to this horizontal ruler, the text can be easily formatted.

Prior to the existence of this graphic ruler, tabulations could only be managed by programming or using the 4D Write Pro interface widget. From now (4D v16 R2 and above), when the ruler is displayed (this is optional) the final user will have the opportunity to manage margins and tabulations easily and graphically.