ChildPanelOnCentral()
Opens a child panel centered in the calling parent panel.
Synopsis
ChildPanelOnCentral(string FileName, string PanelName,
dyn_string Parameter);
Parameters
Parameter | Meaning |
---|---|
FileName | File name of the child panel that is opened |
PanelName | Name with which the panel is opened |
Parameters | List of the $ parameters that are passed to the child panel |
Return Value
None.
Description
The function ChildPanelOnCentral() opens a child panel centered in the calling parent panel. Before the panel is opened a check is made as to whether this panel is already open (isPanelOpen()). The size ratio between child and parent panel is 1 (scale = 1). If the size of the parent panel is changed, the child panel is not scaled to the new size. If the calculated coordinates for opening the panel result in invalid values. If the child panel for example is larger than the parent panel, initialization takes place with x = 0 and y = 0 (x, y means the position).
For an example see chapter ChildPanelOnCentralModalReturn(). ChildPanelOnCentral() works like ChildPanelOnCentralModalReturn but does not receive any return values from the child panel.
A child panel can not be resized. The only exception to this is the use of Layout Management in the child panel.
Assignment
panel.ctl