Ready-to-use toolbar example for 4D Write Pro

Automatically translated from English

You’d like to use 4D Write Pro, but don’t have the time to create a toolbar from scratch? We’ve created a sample application with a ready-to-use toolbar, including two icon families, so you can choose the toolbar style you prefer (flat design or classic). And on top of that, we also added a complete menu bar! Check it out and reuse it for your own applications!

4D makes your life easier by offering you a wide variety of 4D Write Pro standard actions to create customized toolbars and menus. We took advantage of these tools to create this example. Using standard actions to create a user interface in 4D Write Pro is so easy and powerful and saves valuable time.

Take a tour through this demo

This 3-min video gives a quick overview of how the toolbar looks and how it was created.

Working with standard actions

4D v16 R3 and 4D v16 R4 opened up new capabilities to create your 4D Write Pro interface using standard actions.

Build a toolbar with standard actions

Want to create a pop-up menu to control font size? Just assign the “fontSize” standard action to a pop-up menu and the classic set of font size values (8, 9, … 36, 48, 72) is automatically assigned! Plus, the object status and value will be automatically updated by 4D depending on the context and text selection.

Build A menu bar with standard actions

Want to create a submenu to control border color? Just assign the “borders” standard action to your menu item and 4D automatically creates the complete menu and submenu tree! No need to add the list of colors per item each time. Of course, the object status and value is also automatically updated by 4D depending on the context and text selection!

Interested? Download our example!

If you want to try it yourself, just download our demo:

4D Write Pro toolbar example

Fabrice Mainguené

• Product Owner •

Fabrice Mainguené joined 4D Program team in November, 2016. As a Product Owner, he is in charge of writing the user stories then translating it to functional specifications. His role is also to make sure that the feature implementation delivered is meeting the customer need.

After obtaining a Bachelor degree in Computer Science at CNAM, Fabrice joined a small software publishing company as a Windev developer. Then he worked for different companies in industry and trade areas as a Windev and web developer as well as technical advisor on new features.