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

getPanelSize()

Returns the size of a panel (width and height).

Synopsis

dyn_int getPanelSize( string fileName)

Parameters

Return value

In event of an error, the function returns an empty integer ("0 items").

Error

Missing arguments, wrong or non existing panels.

Description

Returns the size of a panel (width and height). The first value is the width of the panel and the second value is the height.

IconExample

main()

{

dyn_int x;

x=getPanelSize("examples/childpanelon");

DebugN(x); //[dyn_int 2 items 1:600 2:400 ]> width 600 height 400

}

Assignment

Graphics functions

Availability

UI

See also

Top Of Page

 

V 3.11 SP1

Copyright ETM professional control GmbH 2013 All Rights Reserved