VP Get sheet index
VP Get sheet index ( vpAreaName : Text ; name : Text ) : Integer
Parâmetro | Tipo | Descrição | ||
---|---|---|---|---|
vpAreaName | Text | -> | Nome de objeto formulário área 4D View Pro | |
name | Text | -> | Nome da folha | |
Resultado | Integer | <- | Índice da folha |
Descrição
The VP Get sheet index
command returns the index of a sheet based on its name in vpAreaName.
Em vpAreaName, passe o nome da área 4D View Pro.
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.
A indexação começa em 0.
Exemplo
No documento seguinte:
Obter o índice da folha denominada "Total first quarter":
$index:=VP Get sheet index("ViewProArea"; "Total do primeiro trimestre") //retorna 2