ChildPanelOnRelativModal()
Opens a modal child panel relative to the calling object.
Synopsis
ChildPanelOnRelativModal(string FileName, string PanelName,
dyn_string Parameter, int offsetX, int
offsetY);
Parameters
Parameter | Meaning |
---|---|
FileName | File name of the child panel to be opened |
PanelName | Name under which the child panel is to be displayed |
Parameters | Parameters that are passed to the child panel |
offsetX, offsetY | Position of the child panel |
Return Value
None.
Description
The function ChildPanelOnRelativModal() opens a modal child panel relative to the calling object. The relative position is defined by the coordinates offsetX and offsetY. Otherwise, the function works like ChildPanelOn(). 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 ChildPanelOnRelativ() 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...(), isPanelOpen()