Loading...
 

FillWindow

FillWindow

FillWindow(windowID, childID), FillWindow(windowID), FillWindow(, childID), FillWindow

parameters: Identifier of a Windows and a child object

Stack
Stack Description
Stack(In) one object
Stack(Out) -

A Child-Window object, which is

Widget(CLASS::access expression, x, y,... )

is described, data is assigned to the specified class (and all classes derived from it) (Mapping Window object <-->Model object). FillWindow selectively handles only the window objects matching the class of the object taken from the stack. For these child objects, the access expression is evaluated and the resulting data is displayed.
If necessary, the data selected by access print is converted into a character string.

Relations between objects can be visualised with an object box. FillWindow then selects the object (or objects) to which the relation refers. An object box with the flag NULL_ELEMENT can also display a relation (NULL-pointer) that refers to nothing. It was tacitly assumed that the object box already shows all potentially referenceable objects.
The alternative possibility that the object box only displays the referenced objects (instead of removing them from the total set by selection) can be activated with the flag ENTIRE. This is of course only possible for 1-m and n-m relations.

If the access expression contains a pointer or function (which may return NULL) or refers to a dynamic data field, FillWindow can show or hide window objects when the VOLATILE flag is set.

An invisible window object - i.e. if it is hidden by the Hide statement or a priori by flag HIDDEN - is ignored by FillWindow.

Note on widget import: FillWindow only considers widgets of the current import context.