2.424 .wrap

At the layoutbox, this attribute can be used to switch wrapping on and off. Wrapping means that when resizing or changing the .visible attribute of the layoutbox, the children may be reordered so that all of them remain visible or accessible.

When used with a spinbox this attribute controls whether a circular spinning is to be executed (.wrap = true), or whether the spinning is to be stopped on reaching the minimum or maximum limit (.wrap = false). The value of this attribute is preset on true.

Definition

  • Data type

    boolean

  • Access

    get, set

  • changed event

    yes

layoutbox

If wrapping is switched off, no more changes are made (e.g. changes to the attributes of the layoutbox .direction, .ymargin, .xmargin… or their children).

If wrapping is disabled from the beginning, objects are not arranged by the layoutbox.