company logo

Initializing text definitions

Most GUI resources to be created are field definitions (ADK_Field).. When creating a new field by dragging or passing the field name, the ODE Designer tries to locate a property with the same mane in the class, to which the control belongs that owns the field to be created. When a property with the field name passed has been found, the description for the class property (when existing) is linked to the field resource (content description).

When the content definition for the data source contains a label text, the label text is copied to the text definition (user hints in field definition) as label for the control. Otherwise, a label will be created for the selected application language from the property (data source) name by replacing underscores with spaces and capitalizing initial letters.

When running the GUI application, the label (title) defined in usage text data will be used for displaying control and column labels, button and menu item text. The title in the content definition does not play any more role for the GUI application.

Notes:

When linking the content topic defined for the data source (class property), content hints are available for all languages defined for the property description topic. When localizing the topic, text is also copied for all available languages.

When initializing usage hints tool tips or titles from content definition to user hints, only text for the currently selected language is copied.