4D v13.4Overview |
||||||||||||||||||||||||||||||||
|
4D v13.4
Overview
Overview
In 4D, you have the possibility of moving objects between two applications in the Design environment. You can thus recopy the tables, forms, methods, etc. that you have created in one database into another. This can greatly facilitate and accelerate database development. Moving objects is not limited to individual objects, it can also concern any objects that are referenced by the object, i.e. its dependent objects. You can thus move entire functionalities. For example, if you have created a custom query dialog box, you can move the form used for the dialog box as well as all the methods, pictures and other objects it uses. You can copy the form into another database or into a library grouping the functionalities currently used in your databases. Objects can be moved from the Tool box, the Explorer and the Form editor. Moreover, it is possible to carry out a move from the results window of a Find in design search (see the Results window section). For structural consistency, copying certain objects will lead to the copy of any objects that are inseparable from them. For example, copying a form will lead to the copy of any form method and/or object methods that are attached to it. These inseparable objects cannot be moved directly on their own. Here is a list of movable objects along with their inseparable objects:
Objects can be moved either using standard drag and drop or by copy/paste. To move objects between two databases using drag and drop, you must duplicate your 4D application. In the case of inter-database moving, moved objects can be pasted or dropped into the same environment as that of their departure (Tool box, Explorer, etc.) or into other areas of the application. 4D will carry out the appropriate action according to the context, whenever possible. For example, it is possible to drop a form onto the Method editor window; in this case, the name of the form is inserted into the method. During a move, if an object of the same type and with the same name already exists in the destination database, by default the existing object will be replaced by the moved object. The Moving dialog box will be displayed in this case; it indicates the objects that will be replaced and lets you modify this action. The following mechanisms should be noted:
Note: It is not possible to drag objects from the Trash page of the Explorer.
|
PROPERTIES
Product: 4D |
||||||||||||||||||||||||||||||