"panelFileName"

Returns or writes the panel name of a reference in a panel.

Synopsis

getValue(string refName, "panelFileName", string &panelFileName);

setValue(string refName, "panelFileName", string panelFileName);

Parameters

Parameter Description
refName Reference name
panelFileName Panel name of the reference (return value)

Description

Returns the panel name of a reference in a panel.

This attribute is used on reference objects. For example if there is a panel with the reference "Ref1";, which contains a push button, then this attribute can be used for returning the panel name of this reference.

Setting the "panelFileName" for a panel in GEDI to "???" allows the GEDI to detect that this is a new panel for which it must ask a filename when the "save" action is clicked by the user.

Example

main()
{
  string fileName;
  getValue("PANEL_REF3", "panelFileName", fileName);
  DebugN("Reference panel name:" + fileName);
}

Assignment

Panel references