ChildPanelOnParentModal()
Opens a modal child panel in the specified panel.
Synopsis
ChildPanelOnParentModal(string FileName, string PanelName,
string ParentName, dyn_string Parameter, int x,
int y);
Parameters
Parameter | Meaning |
---|---|
FileName | File name of the child panel to be opened |
PanelName | Name under which the child panel is to be displayed |
ParentName | Module in which the panel is to be opened |
Parameters | Parameters for transfer to the child panel |
x, y | Position of the child panel |
Return Value
None.
Description
Opens a modal panel in the parent panel "ParentName". The function works like the function ChildPanelOnParent() but the child panel that is opened is modal. Before the panel is opened a check is made as to whether this panel has already been opened (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. See chapter ChildPanelOnParent() for an example.
A child panel can not be resized. The only exception to this is the use of Layout Management in the child panel.
When a modal child panel is opened from a modal child panel, the opened child panel is modal application wise, ie. modal to the current UI.
Assignment
panel.ctl
Availability
UI
See also
ChildPanel...()