Embedded Fields

You can "embed" fields in other controls, usually to display headings dynamically. In some cases an alternative way of doing this would be to use separate edit controls, but the advantage of embedding fields is that the words in the displayed text are correctly spaced and have the correct colour and font automatically. Fields are embedded by specifying %field_number within the Caption text of the General properties dialog (this is not how the embedded fields are actually stored, just how the Map Editor displays them). The Embedded Fields dialog allows you to define the properties of the fields you have chosen to embed. It looks like this:

At the moment, you can only specify the length in characters of the embedded fields, and MAPEDIT only allows embedded fields within controls that have text captions. (In fact the terminal manager allows embedded fields in edit controls, and it is possible to assign embeeded fields format flags using MAPPOST).

It is important that you increase the size of the containing control to cater for the largest possible values of the embedded fields.

You can embed different fields at the same place in the control, thus: (%1 %2 %3) etc.