TEditButton events are weird
Original Reporter info from Mantis: dodi
-
Reporter name: Hans-Peter Diettrich
Original Reporter info from Mantis: dodi
- Reporter name: Hans-Peter Diettrich
Description:
An TDirectoryEdit fires OnEditingDone right after loading (may depend on loading order). This certainly is unwanted behaviour.
OnEditingDone seems to be related to KillFocus (OnExit), and should not occur when nothing has been changed - otherwise it only duplicates OnExit.
Programmatical changes to the Text do not fire an event - is this intended behaviour?
Additional information:
There seem to exist more issues with TEditButton, see e.g. #18962 (closed).
IMO the events, related to TEdit and descendants, deserve some considerations, and then should be implemented according to the defined/desired behaviour.
Mantis conversion info:
- Mantis ID: 19722
- Version: 0.9.30.1 (SVN)
- Target version: 1.2