Apply naming conventions with Form macros
by guest author Michael Höhne, 4D developer (Munich, Germany)
There’s a feature in 4D v18 R5 that may have been overlooked, or at least hasn’t gotten much attention so far: Form macros. To be honest, I hadn’t spent much time on them either, until recently. In this blog post, I’ll show you a macro that saves a lot of time when applying naming conventions to list box columns, column headers, and footers. You can easily change it to fit your needs. A dedicated repo is also available on Github.
4D for iOS: Build mobile apps in less than 2 minutes
Are you new to 4D for iOS? New to our no-code native app builder that allows you to extend your existing 4D business applications to mobile devices? Or maybe you just need a jumpstart to see how far the product allows you to go?
If this is the case, check out what 4D for iOS can do thanks to its feature set, and watch this video to witness the building of a mobile app in less than two minutes:
Push notification with data synchronisation
As of 4D v18 R4, you can send notifications to your application users. Now with 4D v18 R6, you can start data synchronization with a push notification.
This could be useful, for example, in the case of delivery tracking applications. First, the delivery information is updated in the database, then a notification is sent to the customer. The notification contains a request to synchronize the data, so when the customer consults the record on their smartphone, the data is up to date.
4D View Pro: End of document loading
When you use 4D View Pro (especially in offscreen mode) with complex documents, calculating all formulas could take a while and it can be difficult to know when it’s finally finished (and it’s important to wait before you call commands such as export or print).
As a solution, we’ve introduced two new events. One of which is called for every single calculation/formula, which could be used to trigger a timer. If the time expires without another formula being finished, we can assume that the whole document is finished.