Border

This property determines whether a border is displayed around the area frame, entity or occurrence frame, or field. It is set from the context menu in the form canvas.

Technical Name:

#border

Expected Value:

N (No) | F (Frame) | O (Occurrence)

Default Value:

N (No)

Values
Value Description Example
No Border No border is displayed (default) No border around the entity
F (Entity Border) Displays a visible border around each entity, with a reserved space of one character cell inside the border. If the object has a background color, this color is not applied to the inside reserved space. Border around the entity
O (Occurrence Border) Displays a visible border and a space between each occurrence. If the object has a background color, this color is not applied to the inside reserved space.

Applicable only for entity and area frames.

Entity occurrences with border

Note:  In the examples, the Background Color property of the entity has been set to illustrate the effect of the Border property.

Description

This property sets a border around the selected object in the Canvas and at runtime.

Note:  For entities and area frames, consider using the BorderType property rather than Border. For more information, see BorderType.

Limitations

The Border property has the following limitations:

  • If there is not enough room for the border on the canvas, the following message is displayed and no order is applied:
    6469- The border setting has positioned a frame illegally in relation to the highlighted frame.

    Alternatively, for entities, you can use the Border (small) property to apply a runtime border that is not visible in the Canvas, but this can change the frame positioning compared with the Canvas. For more information, see Border (small).

  • If the Attach property is true, the border is not resized when the entity or frame is resized.
  • If a background color is applied to the object, it does not affect the space reserved for the border.

Compatibility

If both the Border and BorderType properties are set, two borders are displayed.