Using the positioning and sizing functions for the contained windowinstance may have unpredictable results. If resizing of the windowinstance is
desired, the size of the parent subwindow control should be changed instead.
A reference to the contained windowinstance object is available from the script environment of the parent subwindow control through the variable
subwindow. In the other direction, a reference to the parent subwindow control is available from the contained windowinstance object through the
parentcontrol variable.
Returns data about the child window class and data source.
Return values
(string)
If child window exists, return the name of the
windowclass used by the child window. Otherwise, return an empty string.
(string)
If child window exists, return the database path used by the child window. Otherwise, return an empty string.
If present, this function is executed when the window instance contained in the subwindow has been created.
Sets the window class and data source to be shown in the subwindow control.
If a child window already exists, it will be closed.
Parameters
class (string) [optional]
The name of the windowclass to be used for the new child window. If this parameter is omitted, no new child window will be created and the subwindow will remain empty.
recordname (string) [optional]
The database path to be used for the new child window. If this parameter is omitted, the window will have no data source.