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

VP SET COLUMN COUNT

VP SET COLUMN COUNT ( vpAreaName : Text , columnCount : Integer { , sheet : Integer } )

ParâmetroTipoDescrição
vpAreaNameText->Nome de objeto formulário área 4D View Pro
columnCountInteger->Número de colunas
sheetInteger->Índice da folha (folha atual se omitida)

Descrição

The VP SET COLUMN COUNT command defines the total number of columns in vpAreaName.

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

Pass the total number of columns in the columnCount parameter. columnCount deve ser maior que 0.

In the optional sheet parameter, you can designate a specific spreadsheet where the columnCount will be applied (counting begins at 0). Se omitido, a planilha atual será utilizada por padrão. Você pode selecionar explicitamente a planilha atual com a seguinte constante:

  • vk current sheet

Exemplo

O código seguinte define cinco colunas na área 4D View Pro:

VP SET COLUMN COUNT("ViewProArea";5)

Veja também

VP Get column count
VP Get row count
VP SET ROW COUNT