ac-rel()

Previous Next

This method is supported for backward compatibility only.

To refer to an object within the current window, call a method of that object instead of using ac-rel().

To refer to an object outside the current window, collect the information you want to refer to in a user-defined property on startup of the current window, and then refer to that property.

Ac-rel() performs an action on a control other than the current one. The control is specified by a path.

Syntax

ac-rel(<path>, <method>[, <parameters>])

Parameters

path

Specification of the control the action should be performed on.

Method

The action you want to perform.

Parameters

The parameters required for the action.

Example

ac-rel(*tableShell, control-set-values, title, text)

ac-rel(<-*currentColumn.data, convert-alternative-format, DDMMYY,MMDDYY,DDMM,MONDD)

NOTE:

This method has the same purpose as action-other-control(). However, action-other-control()operates slightly differently from ac-rel(). In ac-rel(), parameters containing column identifiers or paths are resolved in relation to the calling object. In action-other-control(), they are resolved in relation to the target object.