[Lazarus] Suppressing OnChange

Timothy Groves the.tail.kinker at gmail.com
Fri Nov 9 13:14:40 CET 2012


Thanks to both responders.  I actually found another solution:

procedure TfrmMain.txtVolAuthorChange(Sender: TObject);
begin
   if (txtVolAuthor.Enabled) then
     VolumeList [CurrentVolume].Author := txtVolAuthor.Text;
end;

Then I just set txtVolAuthor.Enabled := false before manually updating it.




More information about the Lazarus mailing list