On Sat, 1 Mar 2008 16:37:35 +0100 zeljko <[EMAIL PROTECTED]> wrote: > On Saturday 01 March 2008 16:07, Mattias Gaertner wrote: > > On Sat, 1 Mar 2008 15:44:55 +0100 > > > > zeljko <[EMAIL PROTECTED]> wrote: > > > On Saturday 01 March 2008 14:52, Mattias Gaertner wrote: > > > > Replace > > > > DoSomeOperationWith(Handle) > > > > with > > > > DoSomeOperationThatNeedsAHandle; > > > > > > > > For example any Canvas operation needs a handle. > > > > > > tnx, I've found Loaded() satisfies my needs - for runtime, but > > > Loaded() isnt' called during design time ? so ... what to call > > > here ? > > > > I hope, you mean 'override' not to 'call'. > > yes , I mean 'overrde' I don't call Loaded() ;) > > > > > Loaded is called during designtime too. Otherwise you found a > > bug. > > Not when you drop control on to form for the first time. > Later, when you start that project, then it properly calls Loaded(). > So it could be a bug.
I see. No that's, not a bug. Loaded is called after the lfm data has been transmitted. No lfm data - no Loaded. If you tell, what you are trying to do, I can tell you what method to override. Mattias _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
