Aller au contenu principal
Version: Next

VP Get sheet index

VP Get sheet index ( vpAreaName : Text ; name : Text ) : Integer

ParamètresTypeDescription
vpAreaNameText->Nom d'objet formulaire zone 4D View Pro
nameText->Nom de la feuille
RésultatInteger<-Numéro d'indice de la feuille

Description

The VP Get sheet index command returns the index of a sheet based on its name in vpAreaName.

In vpAreaName, pass the name of the 4D View Pro area.

In name, pass the name of the sheet whose index will be returned. If no sheet named name is found in the document, the method returns -1.

La numérotation démarre à 0.

Exemple

Dans le document suivant :

Lire l'index de la feuille appelée "Total premier trimester" :

$index:=VP Get sheet index("ViewProArea";"Total premier trimestre") //retourne 2

Voir également

VP Get sheet count
VP Get sheet name