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

ttextedit

[Properties (by Name)] [Methods (by Name)]

Multi-line text edit widget

Declaration

Source position: msetextedit.pas line 380

type ttextedit = class(tcustomtextedit)

published

  property font: twidgetfont;

  property caretwidth: Integer;

  property cursorreadonly: cursorshapety;

  property optionsedit1: optionsedit1ty;

  property optionsedit: optionseditty;

  property textflags: textflagsty;

  property textflagsactive: textflagsty;

  property statfile: tstatfile;

  property statvarname: msestring;

  property statpriority: Integer;

  property encoding: charencodingty;

  property options: texteditoptionsty;

  property marginlinepos: Integer;

  property marginlinecolor: colorty;

  property tabulators: ttabulators;

  property onchange: notifyeventty;

  property ontextedited: texteditedeventty;

  property onkeydown: keyeventty;

  property onkeyup: keyeventty;

  property oncopytoclipboard: updatestringeventty;

  property onpastefromclipboard: updatestringeventty;

  property onfontchanged: notifyeventty;

  property onmodifiedchanged: booleanchangedeventty;

  property ontextmouseevent: textmouseeventty;

  property oneditnotifcation: editnotificationeventty;

  property oncellevent: celleventty;

  property ondrawtext: textdraweventty;

  property onsetupeditor: setupeditoreventty;

end;

Inheritance

ttextedit

  

Multi-line text edit widget

|

tcustomtextedit

|

tcustomedit,igridwidget,istatfile,iassistiveclientgridwidget

|

tpublishedwidget,iedit

|

tpublishedwidgetnwr

|

tactionpublishedwidgetnwr

|

tactionwidget

|

twidget

|

tactcomponent,iscrollframe,iface,iassistiveclient

|

tmsecomponent,iactivatorclient

  

Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component

|

tcomponent,ievent,iificommand,iificlient

|

tpersistent

|

TObject

Description

Multi-line text edit widget. Its content can be loaded from a file with loadfromfile, as in the following example, which loads the form's own .mfm file into the editor when a button is clicked.

uses
  main_mfm;

procedure tmainfo.ButtonExecute(const sender: TObject);
begin
  edit1.loadfromfile('main.mfm');
end;

Documentation generated on: 2026-10-03