2.263 .preeditsel

The .preeditsel attribute controls the initial selection of the text, if the edittext of a tablefield is explicitly or implicitly activated. An implicit activation of the edittext takes place by entering a character, explicit activation for example takes place by double clicking.

With the aid of .preeditsel the same initial text selection can be set for both activation forms and the same behavior can be achieved. Entry behavior refers to the replacement of existing text through entry, as well as to inserting entered characters before or after the content of the edittext.

Definition

  • Data type

    enum

  • Access

    get, set

  • changed event

    yes

Value range

presel_default (default)

With explicit activation, an entered character replaces the content.

With implicit activation, an entered character is appended to the content.

presel_all

For explicit as well as implicit activation, the content is always entirely selected – from .startsel = 0 to .endsel = length(content).

A character entered replaces the content.

presel_begin

No selection, the cursor is set at the beginning for explicit as well as implicit activation.

A character entered is placed before the content.

presel_end

No selection, the cursor is set at the end for explicit as well as implicit activation.

A character entered is appended to the content.

Availability

From IDM version A.05.02.h the attribute is supported on Unix platforms with Motif and on Microsoft Windows.