Say Hello to Rounded Corners
The current trend is for light, clean, soft colors and rounded corners.
For you to embellish your applications and follow the latest trends, we have added the possibility to round the corners of static texts and input texts.
4D for Android: Say Hello to Material Design 3
To ensure that your application follows the latest design trends and that your users are blown away by a minimalistic, stylish, and great looking, we have updated the Material Design library.
Files, Folders… and now File Handles!
The File and Folder commands, which appeared in 4D v17 R5, enable you to manage folders and files on disk in a modern and efficient way.
When it comes to writing and reading, the setText and getText functions are at your disposal to read or write the entire content. But what to do if you want to read or add one or more lines to an existing document? This can be done more efficiently than ever using the new “file handles” objects in 4D v19 R7.
Keep reading for details!
Tips & Tricks for your 4D Apps – September 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 4D technology where weekly tech tips and monthly tech notes 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:
LIST BOXES: More Control. More Beauty!
List boxes are powerful and very customizable form objects. And their power is extended with 4D v19 R6 thanks to two new properties: horizontal and vertical padding (the inner margins or the space between an element’s content and its border). They will give new presentation possibilities to your list boxes, and an even more professional appearance to your interface,
New Windows system rendering engine for Web Areas
Web areas can display various types of web content within your forms: HTML pages with static or dynamic contents, files, pictures,… You can choose between two rendering engines for the web area, depending on the specifics of your application:
- the embedded rendering engine
- the system rendering engine
The advantage of the embedded system is the cross-platform portability. No need to adapt to some specifics of a platform. Moreover, it allows you to access 4D methods.
The advantage of the system browser is the security updates that are available right away. There’s no need to wait for the next version of 4D. We recommend it for accessing the public Internet site.
Windows has announced that “Internet Explorer 11 is retiring on June 15, 2022“. So since 4D v19 R5, if you use the system rendering engine, 4D uses Microsoft Edge WebView2. This change allows you to benefit from a modern browser with the latest features and security updates. For example, Microsoft Edge can be used to display PDFs.
ORDA – Optimize performance with full control over REST requests
With a previous version, you discovered how ORDA REST requests had been automatically optimized to increase performance when working with a remote datastore and client/server configurations.
You learned that you can use contexts to take advantage of the automatic ORDA REST requests optimization.
That was a significant step, but now we offer to have complete control over the behavior of your REST requests. Since performance is a strategic concern, you must be eager to discover this new feature!
And that’s not all; new tools are now available to help you understand and debug your issues.
Keep reading for a complete presentation.
4D View Pro: Populate your sheets with a data context
4D View Pro offers you a new way to load your data and create your templates: the data context. It allows you to create your document with placeholders and fill them by setting this data context.
With just a few lines of code, you can display objects or collections without authorizing them first with VP SET CUSTOM FUNCTION! Let’s delve into the details.
New possibilities to customize the code editor
When it comes to customizing the code editor, everyone thinks of the font and colors of the code. But it is also possible to customize the code editor window and some interactions with the code. Everyone has their own preferences and ways of working.
Moreover, the most essential part of a code editor is the writing code area. With 4D v19 R4, we have redesigned the editor to highlight your code and give it as much space as possible.
This is precisely why 4D v19 R4 enables you to show or hide the ten clipboards. If you don’t use all ten clipboards, you can lighten the toolbar with the “Show clipboard” preference.
4D language: The improvements you requested are here
Do you dream of using short-circuit evaluation, ternary operators, breaking free from a loop, or exiting from a method with a simple keyword?
Well, dream no more! We listened and kept an eye on your feature requests from the 4D Forum, so here comes a set of 4D language improvements that will help you simplify your code.
Contact us
Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!
* Your privacy is very important to us. Please click here to view our Policy