Aller au contenu principal
Version: 20 R5 BETA

VP Get sheet options

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

ParamètresTypeDescription
vpAreaNameText->Nom d'objet formulaire zone 4D View Pro
sheetInteger->Numéro d'indice de la feuille (feuille courante si omis)
RésultatObject<-Objet options de la feuille

Description

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

Pass the name of the 4D View Pro area in vpAreaName. Si vous passez un nom inexistant, une erreur est retournée.

In the optional sheet parameter, you can designate a specific spreadsheet (counting begins at 0). If omitted or if you pass vk current sheet, the current spreadsheet is used.

Objet retourné

La commande retourne un objet contenant les valeurs courantes pour toutes les options de feuille disponibles. 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.

Exemple

$options:=VP Get sheet options("ViewProArea")
If($options.colHeaderVisible) //les en-têtes des colonnes sont visibles
... //faire quelque chose
End if

Voir également

4D VIEW PRO SHEET OPTIONS
VP SET SHEET OPTIONS