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

VP Get binding path

História
ReleaseMudanças
19 R5Adicionado

VP Get binding path ( rangeObj : Object ) : Text

ParâmetroTipoDescrição
rangeObjObject->Objeto intervalo
ResultadosText<-Nome do atributo ligado à célula

Descrição

The VP Get binding path command returns the name of the attribute bound to the cell specified in rangeObj.

In rangeObj, pass an object that is either a cell range or a combined range of cells. Note que:

  • If rangeObj is a range with several cells, the command returns the attribute name linked to the first cell in the range.
  • If rangeObj contains several ranges of cells, the command returns the attribute name linked to the first cell of the first range.

Exemplo

var $p; $options : Object
var $myAttribute : Text

$p:=New object
$p.firstName:="Freehafer"
$p.lastName:="Nancy" VP SET DATA CONTEXT("ViewProArea"; $p) VP SET BINDING PATH(VP Cell("ViewProArea"; 0; 0); "firstName")
VP SET BINDING PATH(VP Cell("ViewProArea"; 1; 0); "lastName")

$myAttribute:=VP Get binding path(VP Cell("ViewProArea"; 1; 0)) // "lastName"

Veja também

VP SET BINDING PATH
VP Get data context
VP SET DATA CONTEXT