Saltar para o conteúdo principal
Versão: Próximo

VP Get sheet index

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

ParâmetroTipoDescrição
vpAreaNameText->Nome de objeto formulário área 4D View Pro
nameText->Nome da folha
ResultadoInteger<-Í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

Veja também

VP Get sheet count
VP Get sheet name