Aller au contenu principal
Version: Next

VP Get sheet count

VP Get sheet count ( vpAreaName : Text ) : Integer

ParamètresTypeDescription
vpAreaNameText->Nom d'objet formulaire zone 4D View Pro
RésultatInteger<-Nombre de feuilles

Description

The VP Get sheet count command returns the number of sheets in the document loaded in vpAreaName.

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

Exemple

Dans le document suivant :

Pour obtenir le nombre de feuilles et définir la feuille courante comme étant la dernière feuille :

 $count:=VP Get sheet count("ViewProArea")
//set the current sheet to the last sheet (indexing starts at 0)
VP SET CURRENT SHEET("ViewProArea";$count-1)

Voir également

VP Get sheet index
VP SET SHEET COUNT