4D Blog

Home Tag: formatter
Product
Roland Lannuzel
Roland Lannuzel

Listbox: “Blank if null” for TIME Columns and Footers!

October 30, 2024

For many versions, the “Blank if null” property has been available for “time” type zones, whether for input or display. However, it was not previously available for columns or footers of this type in listboxes. With 4D 20 R7, this limitation has been removed!

Read more

3
Product
Roland Lannuzel
Roland Lannuzel
blank

Tailored Customization for Dates and Times

January 24, 2024

The manipulation of dates and times often requires specific formatting for various representations based on 4D’s internal resources or operating system settings.

While the default formats are usually all you need, there are scenarios in which custom formatting is essential, particularly for different geographical locations or unique requirements. In 4D v20 R4, significant advances have been made to meet this precise need

Read more

3
Tips
Vanessa Talbot
Vanessa Talbot
blank

4D for Mobile Tutorial – Using Formatters

February 8, 2023

A data formatter allows you to map a data type from your database to a specific display on the mobile side. For example, you can define a date, percentage, or currency format. Data formatters can also call some code to create intelligent interfaces.

For example, you can attach a data formatter to phone numbers that open an action menu on the mobile app when the user touches the number (e.g., to call the person or save them in contacts).

You have three formatter types:

  • Built-in formatters
  • Static formatters
  • Dynamic formatters

Read more

15
Product
Vanessa Talbot
Vanessa Talbot
blank

4D for Mobile: Interact with other apps

April 29, 2022

Several formatters have been made available for formatting your data in the list or detail form. For example, a boolean field can be represented as a red or green circle. If you think this is very convenient, then you will love the new features in 4D v19 R5.

Let’s imagine an application with a list of our customers, if we need to go to their offices, it would be really handy to be able to tap on the customer’s address to open Google Maps. Unfortunately on the way, you are stuck in traffic. Don’t panic, just tap on the phone number, and you can choose to send a message or call directly to let them know. 🙂 

Several other formatters are at your disposal, we let you discover them.

Read more

14
Product
David Azancot
David Azancot
blank

4D for Mobile: Use Object Attributes

January 17, 2022

As of now, you can use almost all types of attributes in your mobile projects: text, dates, time, integers… 4D v19 R4 is bringing another one.

Say hello to object attributes.

Read more

14
Product
David Azancot
David Azancot
blank

4D for iOS: Custom Input Controls

October 5, 2021

Until now, custom formatters allowed you to match text or images to the contents of a field, such as replacing true/false with an image or 1, 2 with text labels. 4D v19 R3 allows you to create action input controls available from actions forms, such as creating a choice list with predefined text. And even better, this list can be dynamically filled using a datasource such as a list of employers. Let’s delve into the details!

Read more

11
Product
David Azancot
David Azancot
blank

4D for Mobile: Custom Data Formatters for Light & Dark Appearances

July 21, 2021

For some time, you’ve been able to create your own custom data formatters and convert strings, booleans, or integers to images in your generated app.

This new 4D v19 R2 feature will allow you to take full advantage of those formatters for iOS and Android, and make sure images look good in both light and dark appearances.

Let’s see how!

Read more

21
Product
David Azancot
David Azancot
blank

Create a custom data formatter in 4D for iOS

February 4, 2019

With 4D v17 R3, we introduced basic data formatters for dates, percentage, time, etc. 4D v17 R4 takes things a step further by providing you the ability to create your own data formatters and use them directly from the Project Editor.

Read more

406
Product
David Azancot
David Azancot
blank

Data formatters with 4D for iOS

October 19, 2018
As promised, with every R-release we’ll be providing you with more 4D for iOS features. 4D v17 R3 includes a new concept allowing you to define specific data types for your fields so the content is displayed with the correct format: Data formatting!

Read more

397
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 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 CI/CD Class Client/Server Code editor Collections Formula Google Listbox Logs Mail Microsoft 365 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 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 CI/CD Class Client/Server Code editor Collections Formula Google Listbox Logs Mail Microsoft 365 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