4DPop Commands


4DPop Commands allows you to quickly find the name of a command in French or English, to access the page of the online documentation or paste in the method editor the command with its syntax and a brief explanation of the values of the parameters expected.


Installation

1. Create a folder "Components" near the structure file of the database (".4db")
2.

Place the folder "4DPop Commands.4dbase"* or an alias of the folder into the folder "Components".

If you use the component "4DPop", you can also drop the package/folder "4DPop Commands.4dbase" on the palette to automatically create the alias in the folder Components and restart your database.

3. Open database.
4. If you use the component "4DPop", the tool "4D Commands" displays in the palette, just click on it to display the tool window.

If the componant "4DPop" is not installed you must, to open the tool, select in the menu "Execute" the line "Method..." then select "Commands" then clic on the button "Execute"

*On Macintosh, the component is a package with extension ".4dbase" who is not necessarily visible according to the adjustabilitys of your preferences.


Usage

The tool provides a unique palette window of research inviting you to enter part of a command name, in real time, the list of commands found is updated, it lists the names of 4D command.

At this stage, two actions are possible:

      1. A double-click on a line of the list opens in your browser page online documentation of the command.
      2. Drag a command on the method editor allows you to paste the command name with its syntax and, in comments, a description of the parameters.

If the Option / Alt key is pressed during drag & drop, the text pasted will be:Command name (# Command).


Parameters

A click on the "i" button in the upper right of this window displays available settings:

    1. The language for the online documentation (French, English, German).
    2. The URL for the documentation site to use.
    3. A check box to enable or not pasting the comments when droping a command in the method editor. (This option is inverted if the Shift key is pressed at the time of dragging the commnand)
    4. A check box which, if checked limits the search to the only language of the current 4D application.

The parameters are saved in the file "4dPop v11 preference.xml" in the 4D preference folder.


What's new

version 1.2 :


Source code provided

This component is given in compiled version, but you will find the code source in the folder "SOURCES" inside the component folder.


Forum

A discussion list on 4DPop is available at this adress: Forum 4DPop