procedure
<component>.customize() { <data_block> }
A function to add user-defined elements to a component structure. <data block> is a block of statements, each of the form:
<type> {<element>{[<num>]} {= <values>} }
where:
<type> - The identifier type.
<element> - The element name, unique for the structure.
[<num>] - The array dimension if the element is an array. num may be omitted from variable-length arrays.
<values> - Initial value(s) for the element.
<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 cannot be changed by the user.
component calc = oleobj('mfccalc.calculator') calc.customize { string fytpe = 'Calculator' }