Tips

Tips & Tricks for your 4D Apps – June Edition

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

 

Here we go with another set of tips and tricks.

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 16 tips:

Product

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

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

ORDA and 4D Write Pro : The power couple!

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.

News

4D v19 R5 Beta starts today

We’re thrilled to announce the launch of beta testing for 4D v19 R5. You told us where you are going next, and this release —like the one before and the ones to come — has the features to help you get there ? 

 

 

 

  • Besides introducing data contexts, 4D benefits from an upgraded SpreadJS version that brings many enhancements, such as the print interface. 4D View Pro is taking it to a whole new level.
  • 4D Write Pro has its share of new features: table headers, linked paragraphs, data contexts, and many improvements to the interface widgets — offering you even more possibilities to produce documents that meet your requirements.
  • We’re offering you better control over the ORDA contexts and cache for both Client/Server and REST to improve performance.
  • We completely reorganized the diagnostic logs, giving you a better-filtered content (log levels such as trace, debug, info, warn, and error).
  • And you can now get rid of unnecessary libraries (e.g., CEF/Web Area, PHP) to reduce the size of your applications.
  • Much more awaits you! 

Download 4D v19 R5 now (Exclusive to 4D Partners)

Product

Launch an external process asynchronously

Sometimes you have to run processes in the background, and as soon as one finishes, perform some actions according to its exit code. From the v19 R4, 4D allows you to start a process in the background with the new 4D.SystemWorker class and execute callback methods automatically when the process returns information. This way, your application UI stays responsive during the execution of the external process, and when finished, you can display the result to the user right away!

News

4D v19 R3 is Here

We’re thrilled to announce that 4D v19 R3 is now available! One of the richest feature releases we have shipped so far.

Here’s an overview of what this feature release has in store for you:

Download 4D v19 R3 

  • Say hello to Computed Attributes in ORDA, Classes, iOS, and Android. Your business logic will love this new feature.
  • Speaking of ORDA, blobs are fully supported, just like any other type, enabling ORDA developers to use BLOB type attributes in operations with entities.
  • 4D for iOS is released with features allowing to interact with native Apple apps and build even more advanced UI’s. 
  • As for 4D for Android, we’re giving you a way to test your Android app on an actual device before releasing it to users.
  • Enjoy a simplified cross-platform client/server applications building on Windows.
  • 4D Write Pro is shipped with an image setting dialog, the possibility to have different numbers of columns on the same page with continuous section breaks, and additional options to manage formula visibility. 
  • Out-of-the-box security boost with the support of the bcrypt algorithm for passwords. The best bit? There’s nothing to change in the code. Everything is automatic. 
  • More news for dark mode enthusiasts. After giving end-users a choice between dark and light mode for the appearance of their applications, it is now the turn of developers to choose between these modes during development on macOS.
News

2021 in Review: Our top 10 blog posts of the year!

It’s that time of the year where we take a look back at ten of our most-read posts. What a year it’s been! From native silicon support and the remarkable performance enhancements that came with it to a whole new Project mode set of features that will greatly enhance your programming experience.

2021 was filled with important product announcements and a plethora of exciting features! Let’s take a look at the topics that grabbed your attention in 2021:

Product

Great news! The image settings dialog is here

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