[Lazarus] Name mismatches in TControl OnEnabledChange
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Oct 17 13:58:55 CEST 2011
While other handlers have symmetric Add/Remove methods, this is
different for an OnEnabledChanged <--> OnEnableChanging handler:
procedure AddHandlerOnEnabledChanged(const OnEnabledChangedEvent:
TNotifyEvent; AsFirst: boolean = false);
procedure RemoveHandlerOnEnableChanging(const OnEnableChangingEvent:
TNotifyEvent);
What's the correct name of the event:
OnEnabledChanged - matches chtOnEnabledChanged
or
OnEnableChanging - looks incorrect
???
DoDi
More information about the Lazarus
mailing list