[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomEdit.OnChange

Event handler for any change in text.

Declaration

Source position: stdctrls.pp line 815

public property TCustomEdit.OnChange : TNotifyEvent
  read FOnChange
  write FOnChange;

Description

Text changes which trigger OnChange include changing the text programatically and also changing it by the user, for example using the keyboard or a virtual keyboard. Note that some OnChange events in other classes might not be trigerred on programatical changes, for example TComboBox.OnChange. This event should not happen when only starting up a form, without any extra code.

See also

TCustomComboBox.OnChange

  

Event handler for user changed text in the edit box.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.