Element: window.customize { }

Type

procedure

Description

A function to add user defined elements to a window structure. This function has an associated data block defining the new elements. This data block is a sequence of language statements,each of the form:

<type> {<element>{[<num>]} {= <values>} }

where:

<element> can be omitted when <type> is another class of structure. In such cases the members of <type> are inherited by the new structure and given the same element names. If <type> is a filter, its value must be a single line definition.

The new structure elements cannot be graphic elements.

This function is valid only for allocated windows, and cannot be changed by the user.

Parameters

window.customize (<window>) {
    <data_block>
}

The procedure may be called in one of two ways:

# Assume mywin is the window identifier.
window.customize(mywin)

or

mywin.customize()

Example

window mywin = wgraphic
mywin.customize {
    point base
    string location = 'Kuala Lumpur'
}