elmtype

Top  Previous  Next

elmtype attribute is used to give one or more types to the library elements.

Example:

<panel name="panel1" elmtype="DateDialog">

  ...

</panel>

 

To give additional types separate hem with commas.

 

<panel name="panel1" elmtype="DateDialog,InputElement">

  ...

</panel>

 

The library element that are assigned types with this attribute can be easily cross-referenced from the other elements by using lookup property type. The lookup properties can be configured to select the elements that have certain element types.

Example:

<prop name="elmname" type="lookup" restr="InputElement;/;%n"/>

 
The definition in the above example says a name of a library element whose element type is "InputElement" can be assigned to "elmname" property as a value.

 

See "lookup" property type