[Lazarus] LCL improvement idea

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Tue Jan 18 17:41:34 CET 2011



On Tue, 18 Jan 2011, Max Vlasov wrote:

> On Tue, Jan 18, 2011 at 5:53 PM, <michael.vancanneyt at wisa.be> wrote:
>
>>
>>
>> Well, one system doesn't exclude the other. I will implement the event as
>> well. If the event is not set, then the speed will remain as it is now.
>>
>
> Ok, sounds great )
>
>
>>
>> Question is, where to call the event ?
>> - In the streaming system ?
>> - In the TComponent.AfterCreate ?
>>
>
> Maybe there will be other votes, but I prefer the first choice, this
> instrument is more flexible with context, and one can always wrap/filter
> run-time creation of controls to recalling the same event with nil for
> unknown things.

I think (csLoading in ComponentState) can be used to distinguish between the two cases.

Michael.




More information about the Lazarus mailing list