Tips

How to create a newsletter in 4D Write Pro

Automatically translated from English

4D Write Pro is a powerful text engine, entirely programmable, and fully integrated into 4D and its database. It has an unlimited number of uses. Beyond generating complex documents by programming, or creating letters and quotes as in classic word processors, 4D Write Pro allows you to easily publish your documents on the web.

Tips

Find a specific attribute value in a single line of code!

Automatically translated from English

Remember the days when you had to use nested loops and conditional statements to retrieve an object’s attribute? So you ended up with a long and complicated piece of code? Well, those days are over! Thanks to object notation combined with collections and their methods, you’re now able to write code faster, and in a more readable way!

Finding a specific attribute’s value has never been easier. Let’s take a look at a real life scenario and discover how!

Tips

Play videos with 4D

Automatically translated from English

We’re in the visual and interactive content era. It’s becoming increasingly more and more prominent. Take a look at digital community statistics and you’ll discover that YouTube is the second most popular social network.

At some point, most web developers want to include videos in their sites and coincidentally, databases frequently contain links to videos (either hosted locally or on the web). This post shows you two ways to include videos in your 4D applications.

Tips

How to use Twitter’s search API with 4D

Automatically translated from English

Given that there are around 6,000 tweets every second (i.e. over 350,000 tweets per minute, 500 million tweets per day equaling approximately 200 billion tweets per year), it would be great if we could search for those related to a specific subject rather than an avalanche of tweets we’re not interested in. Good news! Twitter provides a REST Search API that is great for searching tweets.

Tips

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!

Tips

Rearrange the object entry order in a single click

Automatically translated from English

When working on a form, it often happens, for a reason or another, that you insert new objects within a group of existing objects in your form. In that scenario, the resulting object entry order often becomes illogical, and would let the user enter information in an awkward manner. This is where you need to restore the entry order to a logic one, and it can be a tedious task…