4D v13Video script |
||
|
4D v13
Video script
Video script
In this video, we're going to learn how to integrate the 4DWrite plug-in so as to give you the know-how to use word-processing functions within a 4D application. Let’s start by installing the plug-in:
Re-launch 4D. To make sure the plugin is installed properly, check the Tools menu and you see that 4DWrite is available to be used as a stand-alone word processor. Our goal is to create an area in the Input form of the Interventions table where we can enter text in order to write an intervention report. We select the Plugin tool and draw an area. 4D indicates that "4D Write could automatically save data in the picture or blob field if it existed". Here we're talking about an automatic record. So in the structure, we'll create the corresponding Report_ field as a blob. Back in the form, 4D displays the following message automatically:"4DWrite will automatically save data in the field Report_". Let's test to see if it works:
In this area, we can add pictures or any graphic elements required that are available in the word processor. Let's look at a detail concerning page layout. We set the comment and the technician's e-mail so that they grow and move with the window; we're going to change this so that when we work in full-screen mode, we won't have this inconvenience. So we need to request:
Going back to the form, if we enlarge the area, we now see the desired behavior. You can refer to the documentation to learn about all the functions available in 4D Write, such as:
In the documentation, you'll also find a series of examples that will help you go further using this plugin. |
PROPERTIES
Product: 4D |