UX: Enhanced Scrolling Behavior in Subforms
User forms are all about making things easy for users. But what happens when scrolling becomes a battle between subforms and their contents? You’ve probably experienced this before: you try to scroll through a list box in a subform, but the entire subform moves instead. Or, worse, you try to scroll the subform itself, but the list box stubbornly stays put!
This has been improved with 4D 20 R6, making the action more natural.
4D Write Pro. New Section Options Available in the Interface
As you know, 4D Write Pro manages two types of sections, continuous or with page breaks.
Whether you prefer distinct right-sided pages from the left or want the initial page to stand apart from the rest, these possibilities were once confined to programming or the context menu. However, there’s a positive shift on the horizon – the interface is evolving!
Customize App Appearance with New Windows Types
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.
4D Write Pro: Tables without limit!
Since the introduction of tables in 4D Write Pro, many new features have been put in place. Including Headers, footers, sort breaks and, of course, the possibility of associating a datasource with the tables to fill them in automatically!
This last option meant that the maximum number of rows per table (1000) could often be reached. We took this into account and as of 4D 20 R5, this limit is no longer fixed and controlled by 4D Write Pro but only limited by available memory!
A class for easy handling of your sub-forms
On the forum, several requests, tips, or questions have been asked about displaying a message, an hourglass, or some interface elements in the foreground of a form while blurring out the rest. You can create this type of interface with sub-forms and call forms. The code can get complicated if you’re working with a multi-page form.
To simplify your work, Vincent De Lachaux has prepared a class to simplify the management of sub-forms displayed in a multi-page form. It handles loading the sub-form on the fly, controlling it from a worker, and repositioning it if the main form is resized. You can focus on your dialogues without worrying about the mechanics.
4D Write Pro – A Wizard to Create Tables with Data
Over the last few versions of 4D Write Pro, many table-related features have been added. You can easily create tables based on database data using contexts, data sources, and formulas.
This is so easy that many of just want to let your end-users use the feature as it is. But we understand this can sometimes be challenging for users who lack training in formatting data sources or formulas for various table components. To address this, we have developed a solution shipped with 4D v20 R2: the brand-new table wizard.
The wizard is available to end-users; they can take advantage of templates adapted to their use and business provided by the developer. Configuring templates includes:
- define dataclass and dataclass attributes,
- translate dataclass, dataclass attributes, and formula names,
- prepare formulas adapted to the business,
- design graphic styles.
Continue reading to find out more, and don’t forget to check out the HDI and watch the bonus video that guides you through various possibilities.
Data Explorer Embedded in 4D
Data Explorer allows you to view the data in your database. You can choose which fields to display, organize, filter, and sort the data.
With 4D v20, the Data Explorer can be opened in 4D instead of an external browser. Users can access the Data Explorer directly from the toolbar with just one click, saving time and improving productivity.
Evolution of Form Objects
To allow you to make the most beautiful interfaces, we continue to improve the form objects. Since 4D v19 R6, you can define a rounded border for static text and input text form objects.
With 4D v20, new possibilities are available.
- For buttons, radio buttons, and checkboxes, we have added new settings for the text and the icon.
- For radio buttons and checkboxes, the number of states for the icon has been improved to allow a better rendering for the end user.
Introducing the Latest Find and Replace Features
The “Find and Replace” feature in the code editor has existed for many years. Developers can easily and efficiently search and replace code, especially when dealing with large codebases. 4D v20 is bringing improvements that are sure to be appreciated by developers who rely on this functionality to streamline their coding workflows:
- knowing the number of occurrences to replace,
- knowing the position of the current occurrence,
- having permanent access to the Next and Previous navigation options,
- display a palette instead of a modal window to limit the number of clicks.
Test your Windows SDI Application
It’s been a long time since you could provide your customers with merged applications in SDI mode.
We know that testing an SDI application can be challenging, so with 4D v19 R8, you can view the result of your application without the need to build your standalone or client application.
Keep reading for all the details.
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