"parentPanel"

Returns a pointer to the parent panel of the current panel.

Synopsis

this.parentPanel(string name);

Parameter

Parameter Description
name Name of the root panel (read-only)

Description

Returns a pointer to the parent panel of the current panel, if it is within an embedded module. Otherwise, an invalid null pointer is returned.

Example

main()
{
  DebugN(this.parentPanel());
}

Assignment

Panel