[Lazarus] TPageControl OnChange calling issue
Ondrej Pokorny
lazarus at kluug.net
Sun Nov 13 21:37:50 CET 2016
On 05.10.2016 14:07, Michael Schnell via Lazarus wrote:
>
>
> On 05.10.2016 12:40, Ondrej Pokorny via Lazarus wrote:
>>
>> I am against. LCL is designed to be Delphi-compatible so the default
>> events are what they are and they behave how they behave.
> This of course is granted by a property that is not existing in Delphi
> and defaults to the Delphi behavior.
Unfortunately this will probably be impossible to make for all
LCL-controls systematically. But we can make it for TPageControl - add a
new option nboDelphiOnChange (or whatever) that defaults to Delphi
OnChange behavior. If not set it will be the old OnChange behavior. Or
they other way round: nboOldOnChange?
Or do you have any other name suggestions? I am pretty bad at this :)
Such an option will make updating legacy code easier.
+ Bart: what do you think?
Ondrej
More information about the Lazarus
mailing list