../pvss.htm menu.gif basics.gif

panelSize()

Defines the horizontal and vertical extension of a panel.

Synopsis

int panelSize(string PanelName, int &horizontal, int &vertikal);

Parameters

Parameters

Description

PanelName

Name of the panel

horizontal, vertical

Width and height of the panel

Return value

In the event of an error, the function returns - 1 and under normal circumstances 0.

Errors

Description

Determines the horizontal and vertical extension of an open panel with a specific name. The dimensions of the panel, as created in the graphics editor (GEDI module) ("original size"), are specified as they may differ from the current dimensions. An empty string ("") as the panel name denotes the own panel.

IconExample

The following example specifies the dimensions for the current panel.

Assignment

Management of managers...

Availability

UI

See also

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved