Product

Stop press! Accessing parameters not being passed is … possible

Automatically translated from English

A method or function can have optional parameters. Sometimes the function is called with two parameters, and other times with three parameters. We’ve all dreamed of accessing the parameters without counting the parameters, checking if the parameter has been passed, or simply not having to check if the variable associated with the parameter has been initialized. This could make the code much simpler, and much more readable, without all the “If” or “Count parameters” lines.

Well, dream no more, and switch to 4D v19 R3! Managing method and function parameters has never been easier.

Product

4D for Mobile: What’s new in v19 R3

Automatically translated from English

We are pleased to announce that a new version of 4D is available with new features for 4D for iOS and 4D for Android.

WHAT’s in it?

For both 4D for iOS and 4D for Android:

 

For 4D for iOS only:

  • You can create action input controls of type choice list. The choice list can be a predefined list in a JSON or a dynamic list filled using a data source.
  • In your actions and input controls, you can use computed attributes to simplify your code.

 

For 4D for Android only:

  • The N to one relation is available, so you can display relative data in a list, and decide which field(s) from the related table to publish in your app
  • You can test and debug the generated application on your device.

 

Several blog posts detailing the different features are listed in this post.

Product

Secure your app’s resources with a new algorithm

Automatically translated from English

When generating .4dz files, 4D uses a standard zip format by default. If you are a software publisher, you’ll be happy to know that 4D v19 R2 added a feature that allows preventing users of your application from seeing the content of the 4DZ, and therefore from being able to modify it.

Product

4D for iOS: Sort the Contents of a List Form

Automatically translated from English

Several predefined actions that help your app users manage their content were already available in the Action section: “Add,” “Edit,” “Delete,” and “Share”. 4D v19 R2 introduces a new one, and you’re going to like it! You can now create Sort actions to sort local app data.

Product

Show online documentation directly from the code editor

Automatically translated from English

In the latest versions of 4D, several improvements have been made to simplify the writing of code with classes:

  • function and attribute suggestions according to type
  • display of the prototype with a short description

 

With 4D v19 R2, you can open the online documentation of a function with a single action.

Product

4D View Pro : sheet management

Automatically translated from English

Sometimes, you need to display different tables of information in one document. For better visibility, it’s often necessary to display them in different sheets. In this case, you need to create, rename, hide or remove a sheet, or simply know which sheet the user is currently on.

With 4D v19 R2, you can manage the sheets in your 4D View Pro documents by programming.