[entities]

The [entities] section of the initialization file is used to set widget properties for entities in Form components. It can be used to style the default entity widget, but it is also possible set properties for specific entities, or for an entity in a specific component.

Each entry in this section has the following syntax:

Entity{.Model{.ComponentName}}=udefentity(Properties)

Arguments

  • Entity—name of an entity. The default name for all entities is DefEntity.
  • Model—name of the application model to which Entity belongs. If not specified, properties are applied to the default widget of all entities with the same name, regardless of the model to which they belong
  • ComponentName—name of a component in which the entity occurs.
  • Properties—semi-colon separated string of property-value pairs. The maximum length is 1024 characters. For more information, see DefEntity.

Description

To define the default widget properties for the default entity widget on Windows, use the DefEntity setting.

You can override this setting for specific entities by adding definitions in the [entities] section. For example:

[entities]
entstyle_0=udefentity(bordertype=flat)
entstyle_1.dummy=udefentity(backimage=@..\images\sky.png;valign=center;halign=center)
person.org.FRM_CONTACT=udefentity(bordertype=flat;backcolor=blue;borderradius=20px)