Saltar para o conteúdo principal
Versão: 20 R5 BETA

VP Get sheet options

VP Get sheet options ( vpAreaName : Text {; sheet : Integer } ) ) : Object

ParâmetroTipoDescrição
vpAreaNameText->Nome da área 4D View Pro no formulário
sheetInteger->Índice da folha (folha atual se omitida)
ResultadosObject<-Objecto opções de folha

Descrição

The VP Get sheet options command returns an object containing the current sheet options of the vpAreaName area.

Passe o nome da área 4D View Pro em vpAreaName. Se passar um nome que não existe, é devolvido um erro.

No parâmetro opcional sheet, pode designar uma planilha específica (a contagem começa em 0). Se omitido ou se você passar vk current sheet, a planilha atual será usada.

Objeto devolvido

O método devolve um objeto que contém os valores atuais de todas as opções de folha disponíveis An option value may have been modified by the user or by the VP SET SHEET OPTIONS method.

To view the full list of the options, see Sheet Options.

Exemplo

$options:=VP Get sheet options("ViewProArea")
If($options.colHeaderVisible) //column headers are visible
... //do something End if

Veja também

4D VIEW PRO SHEET OPTIONS
VP SET SHEET OPTIONS