On Tue, 18 Jan 2011, Max Vlasov wrote:

On Tue, Jan 18, 2011 at 5:53 PM, <[email protected]> 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.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to