Aller au contenu principal
Version: 20 R8 BETA

FORM EDIT

FORM EDIT ( {aTable ;} form )
FORM EDIT ( {aTable ;} form ; object )

ParamètresTypeDescription
aTableTableTable à laquelle appartient le formulaire; Si omis : Table par défaut ou utilisation d'un formulaire projet
formTextNom du formulaire
objectTextNom de l'objet du formulaire ou nom du groupe
Historique
ReleaseModifications
20 R8Prise en charge du paramètre object

Description

The FORM EDIT command opens the form associated to aTable in the 4D Form editor, with optionnally object selected.The FORM EDIT command opens the form associated to aTable in the 4D Form editor, with optionnally object selected.La commande FORM EDIT ouvre le formulaire associé à aTable dans l'éditeur de formulaire 4D, avec optionnellement object sélectionné. Note that you must have access to the Design environment, otherwise the error -9804 ("Cannot open form") is generated.

The command is asynchronous: it returns immediately to the calling method and does not wait for the form to be open.

If you pass the optional aTable parameter, you indicate the table associated with form. If you omit this parameter, you indicate that form is a project form.

In the form parameter, pass the name of the form to open in the 4D Form editor. If you pass a name that does not exist, the error 81 is generated ("Form not found").

Optionnally, you can pass in object the name of a form object or of a group to select automatically in the 4D Form editor. This feature allows you, for example, to save time when debugging a form based upon expression errors returned by Compile project.

If object is not found in form, the form is opened and no error is returned.

Pass an empty string in object to deselect all objects in the open form.

Exemples

To open the Contacts table Address form:

 FORM EDIT([Contacts];"Address")

Pour ouvrir le formulaire de projet ContactList :

 FORM EDIT("ContactList")

Pour ouvrir le formulaire de projet ContactPage avec l'objet "name-input" sélectionné:

 FORM EDIT("ContactList"; "name-input")

Voir également

Design Object Access Commands

Propriétés

Numéro de commande1749
Thread safe✗