Tips

New Tips & Tricks for your 4D Applications

Automatically translated from English

by Add Komoncharoensiri, Director of Technical Services at 4D Inc

 

As you know, 4D Knowledge Base is a library of information about the 4D technology where weekly tech tips and monthly technotes are actively published. If you missed the last tips on the KB, that’s fine; here is a compilation from the past few weeks.

This blog post covers 12 tips:

Product

What’s new in the 4D Write Pro Interface widget?

Automatically translated from English

4D Write Pro offers many possibilities for both developers and end-users. A wide range of commands and standard actions are available for developers to create advanced and beautifully designed documents, while end-users are offered two feature-rich interface widgets.

Guess what 4D v19 R5 is bringing? Yes, we’ve added a set of features to the interface widget, such as management of line height!

Here are the new features in 4D v19 R5:

Product

4D Write Pro: Say hello to table headers

Automatically translated from English

Tables are an essential part of 4D Write Pro. They evolve regularly by offering new presentation options. For example, a table can be displayed on several columns or pages. The table headers are repeated at the top of each column or page to make it easier for the user to read.

Starting with 4D v19 R5, the table can be enhanced with headers.

Product

ORDA and 4D Write Pro : The power couple!

Automatically translated from English

4D Write Pro documents often contain formulas returning data or calculations depending on the database. Thanks to the use of contexts, associating that data with documents is now child’s play!

In this blog post, we’ll see how the combination of 4D Write Pro documents with data retrieved using ORDA makes the code clear and easy to maintain.

Product

4D Write Pro is embracing the Dark (Mode)!

Automatically translated from English

We are pleased to announce that this is the last step for dark mode on macOS. The last widgets of the library are compatible with dark mode:

  • 4D Write Pro Interface toolbar
  • 4D Write Pro Interface Sidebar
  • Rich text area

 

So starting with 4D v19 R4, the choice is yours, as you can completely develop and deploy using light or dark mode on macOS.

Product

4D Write Pro – More control on page layout

Automatically translated from English

4D Write Pro makes it easy to create complex documents. Display and layout attributes can be applied to different parts of the documents, whether they are text, images, or tables. Speaking of tables, they benefit from a new property to better define the layout! Let’s see what 4D v19 R4 has in store for you. 

Product

4D Write Pro: Where are my formulas?

Automatically translated from English

When a 4D Write Pro document contains external elements resulting from expressions or formulas, they are visible when the “Display expressions” mode is used. Still, they are blended into the text when the values are displayed. This is what you want for a final document, but it is sometimes useful to easily view these calculated values while writing the document. Well, 4D v19 R3 is giving you new display options for this purpose!

Product

Great news! The image settings dialog is here

Automatically translated from English

Images are an essential part of documents. On an invoice for example, getting the right positioning for the company logo is important. That’s why the 4D Write Pro interface component offers a property dialog for images. You or your end users can easily define:

  • the size of the image
  • the display format
  • the margins and padding
  • the position on the page for anchored images

 

Product

Export 4D Write Pro documents to SVG format

Automatically translated from English

4D Write Pro documents can be exported into different formats: PDF, Plain text, Microsoft Word, 4D Write Pro, HTML… To this list is now added the SVG format!

SVG is an image format. Thanks to that, you will be able to create previews of any page, integrate them in your interface, visualize them in browsers, on mobile devices, etc.