You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Concepts/components.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ A 4D component is a set of 4D code and forms representing one or more functional
9
9
10
10
Several components are [preinstalled in the 4D development environment](Extensions/overview.md), but a lot of 4D components from the 4D community [can be found on GitHub](https://github.com/search?q=4d-component&type=Repositories). Additionnally, you can [develop your own 4D components](Extensions/develop-components.md).
11
11
12
-
Installation and loading of components in your 4D projects are handled through the [4D component manager](../Project/components.md).
12
+
Installation and loading of components in your 4D projects are handled through the [4D dependency manager](../Project/components.md).
A .4dz file is essentially a zipped (packed) version of the project folder. .4dz files can be used by 4D Server, 4D Volume license (merged applications), and 4D. The compact and optimized size of .4dz files makes project packages easy to deploy.
89
+
A .4dz file is essentially a zipped (packed) version of the project folder. .4dz files can be used by 4D Server, 4D Volume Desktop (merged applications), and 4D. The compact and optimized size of .4dz files makes project packages easy to deploy.
90
90
91
91
> When generating .4dz files, 4D uses a **standard** zip format by default. The advantage of this format is that it is easily readable by any unzip tool. If you do not want to use this standard format, add the `UseStandardZipFormat` XML key with value `False` in your [`buildApp.4DSettings`](#build-application-settings) file (for more information, see the [4D XML Keys BuildApplication](https://doc.4d.com/4Dv20/4D/20/4D-XML-Keys-BuildApplication.100-6335734.en.html) manual).
92
92
@@ -124,21 +124,19 @@ This tab allows you can build a stand-alone, single-user version of your applica
124
124
125
125
### Build stand-alone Application
126
126
127
-
Checking the **Build stand-alone Application** option and clicking **Build** will create a stand-alone (double-clickable) application directly from your application project.
127
+
Checking the **Build stand-alone Application** option and clicking **Build** will create a stand-alone (double-clickable) application directly from your application project. On Windows, this feature creates an executable file (.exe). On macOS, it handles the creation of software packages.
128
128
129
-
The following elements are required for the build:
129
+
The principle consists of merging a compiled structure file with **4D Volume Desktop** (the 4D database engine). The functionality provided by the 4D Volume Desktop file is linked with the product offer to which you have subscribed. For more information about this point, refer to the sales documentation and to the [4D Store](http://www.4d.com/).
130
130
131
-
* 4D Volume Desktop (the 4D database engine),
132
-
* an [appropriate license](#licenses)
131
+
- You can define a default data file or allow users to [create and use their own data file](#management-of-data-files).
132
+
- You can either embed a deployment license or let the final user enter their license at the first application launch (see the [**About licenses**](#about-licenses) paragraph).
133
133
134
-
On Windows, this feature creates an executable file (.exe). On macOS, it handles the creation of software packages.
135
-
136
-
The principle consists of merging a compiled structure file with 4D Volume Desktop. The functionality provided by the 4D Volume Desktop file is linked with the product offer to which you have subscribed. For more information about this point, refer to the sales documentation and to the [4D Store](http://www.4d.com/).
137
-
138
-
You can define a default data file or allow users to [create and use their own data file](#management-of-data-files).
134
+
:::note
139
135
140
136
It is possible to [automate the update of merged single-user applications](#automatic-updating-of-server-or-single-user-applications) by means of a sequence of language commands.
141
137
138
+
:::
139
+
142
140
#### 4D Volume Desktop Location
143
141
144
142
In order to build a stand-alone application, you must first designate the folder containing the 4D Volume Desktop file:
@@ -150,7 +148,7 @@ To select the 4D Volume Desktop folder, click on the **[...]** button. A dialog
150
148
151
149
Once the folder is selected, its complete pathname is displayed and, if it actually contains 4D Volume Desktop, the option for building an executable application is activated.
152
150
153
-
> The 4D Volume Desktop version number must match the 4D Developer Edition version number. For example, if you use 4D Developer v18, you must select a 4D Volume Desktop v18.
151
+
> The 4D Volume Desktop version number must match the 4D Developer Edition version number. For example, if you use 4D 20, you must select a 4D Volume Desktop 20.
154
152
155
153
#### Data linking mode
156
154
@@ -171,10 +169,10 @@ If you have specified "MyProject" as the name of the application, you will find
171
169
**Windows*
172
170
* MyProject.exe - Your executable and a MyProject.rsr (the application resources)
173
171
* 4D Extensions folder, Resources folder, various libraries (DLL), Native Components folder, SASL Plugins folder - Files necessary for the operation of the application
174
-
* Database folder - Includes a Resources folder and MyProject.4DZ file. They make up the compiled structure of the project as well as the project Resources folder.
172
+
* Database folder - Includes a Resources folder and MyProject.4DZ file. They make up the compiled structure of the project as well as the project Resources folder.
175
173
**Note**: This folder also contains the *Default Data* folder, if it has been defined (see [Data file management in final applications](#data-file-management-in-final-applicatons).
176
174
* (Optional) Components folder and/or Plugins folder - Contains any components and/or plug-in files included in the project. For more information about this, refer to the [Plugins and components](#plugins-and-components) section.
177
-
* Licenses folder - An XML file of license numbers integrated into the application. For more information about this, refer to the [Licenses & Certificate](#licenses-and-certificate) section.
175
+
*(Optional) Licenses folder - An XML file of license numbers integrated into the application, if any. For more information about this, refer to the [Licenses & Certificate](#licenses-and-certificate) section.
178
176
* Additional items added to the 4D Volume Desktop folder, if any (see [Customizing the 4D Volume Desktop folder](#customizing-4d-volume-desktop-folder)).
179
177
180
178
All these items must be kept in the same folder in order for the executable to operate.
@@ -187,7 +185,7 @@ If you have specified "MyProject" as the name of the application, you will find
187
185
When building a stand-alone application, 4D copies the contents of the 4D Volume Desktop folder into Destination folder > *Final Application* folder. You're then able to customize the contents of the original 4D Volume Desktop folder according to your needs. You can, for example:
188
186
189
187
* Install a 4D Volume Desktop version corresponding to a specific language;
190
-
* Add a custom *PlugIns* folder;
188
+
* Add a custom *Plugins* folder;
191
189
* Customize the contents of the *Resources* folder.
192
190
193
191
>In macOS, 4D Volume Desktop is provided in the form of a software package. In order to modify it, you must first display its contents (**Control+click** on the icon).
@@ -204,6 +202,19 @@ Items must be installed:
204
202
***on Windows**: in the *Final Application\MyProject\Database* subfolder.
205
203
***on macOS**: next to the *MyProject.app* software package.
206
204
205
+
206
+
#### About licenses
207
+
208
+
A stand-alone application requires a deployment license. It can be embedded at build step by the developer or entered at first launch by the end-user, as described in the following table:
209
+
210
+
|Deployment license|Description|Where to enter it|
211
+
|---|----|---|
212
+
|*4D OEM Desktop*|Embedded custom license, contact 4D Sales for information|[Licenses page](#licenses) of the Build application dialog|
213
+
|*4D Unlimited Desktop*|**Discontinued** - Embedded custom license |[Licenses page](#licenses) of the Build application dialog|
214
+
|*4D Desktop*|Per-user license, allowing them to use stand-alone 4D applications|[First activation](../Admin/licenses.md#first-activation) dialog box on the user's machine|
215
+
216
+
217
+
207
218
## Client/Server page
208
219
209
220
On this tab, you can build customized client-server applications that are homogenous, cross-platform and with an automatic update option.
@@ -300,7 +311,7 @@ You can check this option:
300
311
301
312
Designates the location on your disk of the 4D Volume Desktop application to be used to build the client part of your application.
302
313
303
-
> The 4D Volume Desktop version number must match the 4D Developer Edition version number. For example, if you use 4D v19, you must select a 4D Volume Desktop v19.
314
+
> The 4D Volume Desktop version number must match the 4D Developer Edition version number. For example, if you use 4D 20, you must select a 4D Volume Desktop 20.
304
315
305
316
The 4D Volume Desktop must correspond to the current platform (which will also be the platform of the client application). If you want to build a client application for the "concurrent" platform, you must carry out an additional build operation using a 4D application running on that platform.
306
317
@@ -474,7 +485,7 @@ The page lists the elements loaded by the current 4D application:
474
485
475
486
### Adding plug-ins or components
476
487
477
-
If you want to integrate other plug-ins or components into the executable application, you just need to place them in a **PlugIns** or **Components** folder next to the 4D Volume Desktop application or next to the 4D Server application. The mechanism for copying the contents of the source application folder (see [Customizing the 4D Volume Desktop folder](#customizing-4d-volume-desktop-folder)) can be used to integrate any type of file into the executable application.
488
+
If you want to integrate other plug-ins or components into the executable application, you just need to place them in a **Plugins** or **Components** folder next to the 4D Volume Desktop application or next to the 4D Server application. The mechanism for copying the contents of the source application folder (see [Customizing the 4D Volume Desktop folder](#customizing-4d-volume-desktop-folder)) can be used to integrate any type of file into the executable application.
478
489
479
490
If there is a conflict between two different versions of the same plug-in (one loaded by 4D and the other located in the source application folder), priority goes to the plug-in installed in the 4D Volume Desktop/4D Server folder. However, if there are two instances of the same component, the application will not open.
480
491
@@ -500,20 +511,29 @@ The following optional modules can be deselected:
500
511
501
512
The Licences & Certificate page can be used to:
502
513
503
-
* designate the license number(s) that you want to integrate into your single-user stand-alone application
514
+
* designate the license number(s) that you want to integrate into your single-user [stand-alone application](#application-page),
504
515
* sign the application by means of a certificate in macOS.
505
516
506
517

507
518
508
519
### Licenses
509
520
510
-
This tab displays the list of available deployment licenses that you can integrate into your application. By default, the list is empty. You must explicitly add your *4D Developer Professional* license as well as each *4D Desktop Volume* license to be used in the application built. You can add another 4D Developer Professional number and its associated licenses other than the one currently being used.
521
+
This tab displays the list of available [deployment licenses that you can embed](#about-licenses) into your application. By default, the list is empty.
522
+
523
+
:::info
524
+
525
+
If you keep the list empty, you build a stand-alone application without embedded deployment license. In this case, the end-user will have to purchase and enter a per-user *4D Desktop* license. If you integrate a deployment license, the user will not have to enter or use their own license number at application startup. For more information, see the [**About licenses**](#about-licenses) paragraph.
526
+
527
+
:::
528
+
529
+
Your current *4D Developer Professional* license is automatically associated with each deployment license to be used in the application built. You can add another 4D Developer Professional number and its associated licenses.
530
+
511
531
512
532
To remove or add a license, use the **[+]** and **[-]** buttons at the bottom of the window.
513
533
514
534
When you click on the \[+] button, an open file dialog box appears displaying by default the contents of the *Licenses* folder of your machine. For more information about the location of this folder, refer to the [Get 4D folder](../commands-legacy/get-4d-folder.md) command.
515
535
516
-
You must designate the files that contain your Developer license as well as those containing your deployment licenses. These files were generated or updated when the *4D Developer Professional* license and the *4D Desktop Volume* licenses were purchased.
536
+
You must designate the files that contain your Developer license as well as those containing your deployment licenses. These files were generated or updated when the *4D Developer Professional* license and the deployment licenses were purchased.
517
537
518
538
Once you have selected a file, the list will indicate the characteristics of the license that it contains.
519
539
@@ -528,7 +548,7 @@ You can designate as many valid files as you want. When building an executable a
528
548
529
549
>Dedicated "R" licenses are required to build applications based upon "R-release" versions (license numbers for "R" products start with "R-4DDP").
530
550
531
-
After the application is built, a new deployment license file is automatically included in the Licenses folder next to the executable application (Windows) or in the package (macOS).
551
+
After a licensed application is built, a new deployment license file is automatically included in the Licenses folder next to the executable application (Windows) or in the package (macOS).
Copy file name to clipboardExpand all lines: docs/FormObjects/pluginArea_overview.md
+2-12Lines changed: 2 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,9 @@ title: Plug-in Area
4
4
---
5
5
6
6
7
-
A plug-in area is an area on the form that is completely controlled by a plug-in. The ability to incorporate plug-ins into forms gives you unlimited possibilities when creating custom applications. A plug-in can perform a simple task such as displaying a digital clock on a form, or a complex task such as providing full-featured word processing, spreadsheet, or graphics capabilities.
7
+
A plug-in area is an area on the form that is completely controlled by a [plug-in](../Extensions/develop-plug-ins.md). The ability to incorporate plug-ins into forms gives you unlimited possibilities when creating custom applications.
8
8
9
-
When opening an application, 4D creates an internal list of the plug-ins [installed in your application](#installing-plug-ins). Once you have inserted a Plug-in Area in a form, you can assign a plug-in to the area directly in the **Type** list in the Property List:
9
+
When opening an application, 4D creates an internal list of the plug-ins [installed in your application](../Concepts/plug-ins.md#installing-plug-ins). Once you have inserted a Plug-in Area in a form, you can assign a plug-in to the area directly in the **Type** list in the Property List:
10
10
11
11

12
12
@@ -20,15 +20,5 @@ If you draw a plug-in area that is too small, 4D will display it as a button who
20
20
If advanced options are provided by the author of the plug-in, a **Plug-in** theme containing an [**Advanced Properties**](properties_Plugins.md) button may be enabled in the Property list. In this case, you can click this button to set these options, usually through a custom dialog box.
21
21
22
22
23
-
## Installing plug-ins
24
-
25
-
To add a plug-in in your 4D environment, you first need to quit 4D. Plug-ins are loaded when you launch 4D. For more information about the installation of plug-ins, refer to [Installing plugins or components](https://doc.4d.com/4Dv17R6/4D/17-R6/Installing-plugins-or-components.300-4354866.en.html).
26
-
27
-
28
-
## Creating plug-ins
29
-
30
-
If you are interested in designing your own plug-ins, you can receive extensive information about writing and implementing plug-ins. 4D provides a [complete kit (on github)](https://github.com/4d/4D-Plugin-SDK) to help you write custom plug-ins.
0 commit comments