"panel"

Returns the panel on which the graphics object is placed.

Synopsis

panel(shape panel);

Parameter

Parameter Description
panel Panel on which the graphics object is located

Description

Returns a pointer to the panel, on which the graphics object is placed, as a shape object.

Example

Within the clicked event of a graphics object the panel is queried and displayed in the LogViewer.

main(mapping event)
{
  shape myPanelShape;
  myPanelShape = this.panel();
  DebugN(myPanelShape);
}

Assignment

All graphics objects