4D Blog

Home Tag: programming + 20-r5
Product
Fabrice Mainguené
Fabrice Mainguené

Class property declarations and assignments on a single line

May 7, 2024

In 4D 20 R5, the streamlined property declaration now offers the convenience of initializing properties simultaneously with their declaration, akin to variable assignment.

This enhancement simplifies code readability and efficiency by allowing developers to declare and initialize properties in a single line. This facilitates smoother integration and reduces the need for separate initialization blocks. It optimizes development workflows and ensures code robustness across compilers and interpreters, promoting cleaner, more maintainable codebases.

Read more

3
Product
Vanessa Talbot
Vanessa Talbot
blank

Customize App Appearance with New Windows Types

May 6, 2024

With 4D 20 R5, unlocking new possibilities in application customization, two additional window types now offer flexible modal or non-modal windows without title bars. This means complete freedom to tailor your application’s appearance to your exact specifications. Imagine redesigning the title bar to match your desired aesthetics, integrating features like a customized search box or other elements seamlessly.

But that’s not all! We’ve also introduced several new commands designed to streamline your development process:

  • Reduce a window in the title bar on Windows or the dock on macOS,
  • Know if the window is reduced in the title bar on Windows or the dock on macOS,
  • Know if the window if the window is maximized.

Read more

4
Product
Vanessa Talbot
Vanessa Talbot
blank

New 4D remote session object with Client/Server connection and Stored procedure

May 3, 2024

In 4D applications, four types of sessions exist 4D Remote session, Stored Procedure session, Mobile session, and Web session.

The Session command already returns Web or Mobile sessions. This gives you access to a wealth of information about the session and an object shared by all processes in the session.

In 4D 20 R5, the Session command has been extended to the Client/Server connection and stored procedure.

Read more

4
Product
Avatar
Damien Fuzeau
blank

Try-Catch Code Blocks Unveiled!

May 3, 2024

After implementing the throw() command and introducing the Try(Expression) keyword, we are excited to unveil the next evolution in 4D’s error handling system: the introduction of Try-Catch code blocks!

Read more

7
Product
Nicolas Brachfogel
Nicolas Brachfogel
blank

Shared Classes

May 2, 2024

Do you want a simplified way to use shared objects, following the classic object syntax and automatically calling use/end use when needed?

Fasten your seatbelts; here come the shared classes!

Read more

6
Product
Nicolas Brachfogel
Nicolas Brachfogel
blank

Singletons in 4D

May 2, 2024

4D 20 R5 delivers a powerful feature for developers: Singletons!

The singleton design pattern creates a single instance of a class accessible throughout your application.

This pattern offers many benefits, including:

  • host for interprocess values,
  • utility classes,
  • a base for the factory design pattern,
  • and many more.

Keep reading for more information about this new concept!

Read more

7
Page 1 of 1
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • 4D View Pro
  • 4D Write Pro
  • Email, Microsoft 365, Gmail
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • 4D Qodly Pro
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 21 21 R2 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor

Tags

4D-Analyzer 4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 21 21 R2 Administration AI Artificial Intelligence Build application Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor
Subscribe to 4D Newsletter

© 2026 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

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