Use methods and database fields in 4D View Pro
With 4D v17 R2, it’s now possible to call 4D project methods and fields from within your formulas. This not only extends the possibilities of your 4D View Pro documents, but as the conversion process is continuously improved, calls to 4D methods and fields in converted 4D View documents are also preserved.
Table pagination in 4D Write Pro
Tables are a great feature in 4D Write Pro since they open a whole new world of possibilities. Their flexibility allows them to hold as many rows and columns as needed, and the cells can contain paragraphs and pictures.
Things just got even better with 4D v17 R2 thanks to a new feature: table pagination! And you don’t have to manage the pagination yourself, it’ll be fully automatic. No more counting rows to check a page’s size or orientation. From now on, the tables are dynamically split when a page or a column break occurs.
Preemptive Web Services Server and Client
Preemptive Web Services allow your applications to take full advantage of multi-core computers resulting in faster responses for simultaneous requests. It’s not only powerful, it’s also easy: from the Method Properties of any method, just select the “Can be run in preemptive processes” option and you’re off and running!
A 4D method can be preemptive or not according to compilation options and the use of the language, as explained in this post.
4D View Pro: New options for an enhanced user interface
UI is all about personal preference, and 4D View Pro gives you two new options to enhance yours.
Two properties have been added to the Property List in the new Appearance section. They allow you to tailor your 4D View Pro documents with a new user interface. The first property, User Interface, allows you to switch between two different display modes: Toolbar and None. The second property, Show formula bar, is a checkbox to hide or show the formula bar.
Times inside objects… (and everywhere else)
Objects are at it again, continuing to demonstrate their utility to ease your life as a developer.
Using time (or duration) values inside of objects is now smoother and more intuitive. Beginning with 4D v17, times inside objects are set as seconds – and not milliseconds!
Display an entity selection in a list box
4D v17 introduces a new concept: ORDA. If you’re not familiar with ORDA yet, we’ve created a series of blog posts to explain how to use and take advantage of ORDA. When working with ORDA, you’re going to use entity selections, which are basically objects containing references to entities belonging to the same dataclass (i.e. table). One of the main benefits of ORDA, is the very simple and powerful ability of binding with forms.
In this blog post, you’ll learn how to display an entity selection in a list box. In fact, it’s very simple.
Compute statistics on entity selections with ORDA
ORDA provides a great feature to channel data through filters and get aggregated values, by including a set of easily-understood aggregation operations that examine and perform calculations on the data sets. For example, the sum, average, count, min, and max methods are used to perform the operations which their names describe!
How to easily handle text insertion in 4D Write Pro
4D Write Pro packs in a lot of commands and functions allowing you to create and handle complex documents by programming, documents which include pictures and text! Today, 4D Write Pro gets its own commands to insert and read text without needing to use commands originally designed for Styled Text! Thanks to these new commands, your code takes full advantage of the 4D Write Pro programming concepts, i.e. objects and ranges. Thus, your code is more elegant and easier to read!
Get machine hardware information
4D v17 goes a step further to let you create a customized server administration dialog. Following the ability to retrieve information about users & processes, getting all runtime information about 4D Web server, as well as details about the active license, you now have the ability to also retrieve all of the hardware and system details for the machine running your 4D server.
Do you need to know what OS is being used, what processor(s), how much RAM is available, etc.? Just call the new Get system info command, locally or remotely! And that’s not all, this command can be extremely useful for quickly diagnosing and solving any problems that may arise.
Logical operations on entity selections
The ORDA series continues! In this blog post we’ll see how to use logical operators on entity selections!
These operations allow you to get intersections, unions, or differences between two entity selections like you can with classic 4D sets.
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