Unit 'mseeditglob' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

optioneditty

Setting oe_readonly in an editwidget's optionsedit makes it read-only, e.g. edit1.optionsedit:= edit1.optionsedit + [oe_readonly];

Declaration

Source position: mseeditglob.pas line 28

type optioneditty = (

  oe_readonly,

  oe_undoonesc,

  oe_closequery,

  

With oe_closequery (default), a data edit with an invalid or missing (oe_notnull) value refuses to let its form close until the value is corrected

  oe_checkmrcancel,

  oe_nogray,

  oe_linebreak,

  oe_shiftreturn,

  oe_forcereturncheckvalue,

  oe_eatreturn,

  oe_resetselectonexit,

  oe_exitoncursor,

  

go to the next widget if the caret goes behind or before the last or first character

  oe_nofirstarrownavig,

  oe_endonenter,

  

oe_endonenter positions the cursor at the end of the text when the widget receives focus (oe_homeonenter does the same at the start)

  oe_homeonenter,

  oe_autoselect,

  

oe_autoselect (default) selects the whole text when the widget gets the focus, which suits fast data entry: typing replaces the value

  oe_autoselectonfirstclick,

  oe_caretonreadonly,

  oe_focusrectonreadonly,

  oe_trimright,

  oe_trimleft,

  oe_uppercase,

  oe_lowercase,

  oe_hintclippedtext,

  oe_locate,

  oe_casesensitive,

  oe_notnull,

  oe_null,

  oe_directdbnullcheck,

  oe_savevalue,

  oe_savestate,

  oe_saveoptions,

  oe_checkvaluepaststatread

);

Description

Setting oe_readonly in an editwidget's optionsedit makes it read-only, e.g. edit1.optionsedit:= edit1.optionsedit + [oe_readonly];. optioneditty is declared in this unit (mseeditglob), which must be in uses to reference oe_readonly directly.


Documentation generated on: 2026-10-03