How to use Twitter’s search API with 4D
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.
Ready-to-use toolbar example for 4D Write Pro
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!
Four different ways to use objects with 4D Write Pro!
Quite frankly, we love objects. 4D Write Pro uses objects as the input/output of commands and functions to manipulate documents, text, paragraphs, etc. In this blog post, we’ll show you four different ways to use objects with 4D Write Pro.
Rearrange the object entry order in a single click
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…
Use DIALOG instead of MODIFY SELECTION
There is an old saying: “Old is gold” meaning that new ways are not as good as the old ones. But the new way to say is “Old is gold but new is platinum“. We are not referring to jewelry here but two of 4D commands: MODIFY SELECTION and DIALOG.
Create a 4D Write Pro brochure in 5 minutes!
Check out our video showing how easy it is to create an elegant brochure with 4D Write Pro, including the painter’s bio (his life, references and so on), as well as a collection of his paintings accompanied by descriptions. Finally, you’ll learn how to easily add a different front and back cover to complete the brochure.
Of course, creating other kinds of brochures, i.e. for real estate agencies, pharmaceutical laboratories, travel agencies, etc… is just as simple. So take a look and start coding now!
A new tool: JSON Validator
4D v16 R4 introduces a new command: JSON Validate. This command allows you to verify that a JSON document is “valid” according to your JSON schema. This is really useful for exchanging information between servers or between a server and its client. Thanks to JSON schema standards, you can define a “protocol” for communication with your server or an external server. More details can be found in this blog post.
Display your dashboard on a big TV screen
Today, big screens are everywhere. At the airport or train station for arrival/departure. In production areas for failure/success or production numbers. In call centers for activity or calls in queue. In stock exchange for a ticker.
Your first thought could be to use a normal computer, macOS or Windows, with a “27” or 30” screen. Expensive, but easy to do. But besides the high price, you need to run a 4D app, launch it, update it, all just to display a picture?
How to use Google Charts with 4D
According to neuroscientists, we respond better and faster to a visual form than any other type of representation. That’s why graphs and charts are clearly a key to a better understanding of data.
So if you’re looking to display bar charts, histograms, or pie charts which are modern and fully compatible with the leading browsers, but also more suitable for the way the human brain processes information, Google Charts is one possible answer. The available chart types in Google Charts is varied: from the classical bar/column/pie charts, Google Charts also offers elaborated graphs such as Treemap, Candlestick and Gauge charts.
Create your own contextual menu for 4D Write Pro
4D gives you new possibilities to customize your 4D Write Pro user interface to make it perfectly fit your business application. Instead of using the default 4D Write Pro contextual menu, which is so detailed that it could become unpleasant to use, the 4D developer can create its own contextual menu, with the exact list of actions that he wants to provide.
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