![]() |
|
4DPop Constant Editor makes it possible to create and publish personalized constants.
Place the folder "4DPop Constant Editor.4dbase" or an alias of this folder into the folder "Components" near your database structure.
If you use the component "4DPop", the tool "Constants" is displayed automatically in the Tool bar.
You access the editor while clicking on the tool.
You also can launch manually the editor by executing the method "Constant_Editor" through the menu "Execute > Method..."
The constants that are created and edited are the ones found in the “User Constants.bundle” plug-in (see 4D_v11_Upgrade.pdf).
If the plug-in is not installed, it will automatically be installed if you create constants.
The left-hand list of the editor shows the custom constants grouped by theme. Selecting an item lets you edit its properties in the right-hand part of the window.
The tool bar buttons can be used, respectively from left to right, to: create a theme, add a constant to a theme, or to remove the selected item.
Items found in the File menu let you add a theme, add a constant or import constants from a file.
This component is given in compiled version, but you will find the source code in the folder "Sources" inside the component folder.