getDollarParamsFromPanel()

The dollar parameters of the panel can be queried with this CTRL function.

Synopsis

dyn_string getDollarParamsFromPanel(string panelName)

Parameters

Parameters Description
panelName Path and name of the panel whose parameters will be returned

Return value

The function returns the $parameters in a dyn_string if OK otherwise, an empty string.

Error

Description

The dollar parameters of a panel can be queried with this CTRL function.

Example

In this example, the function reads the dollar parameters from a graphics reference.

main()
{
  dyn_string x;
  string y;
  y = "examples/testchildpanel";
  x=getDollarParamsFromPanel(y);
  DebugN(y, x); // Ouput in log viewer
}

Assignment

Graphics

Availability

UI