[Lazarus] Can't see line being debugged.

Adrian De Armas adearmas at gmail.com
Sat Mar 1 21:12:17 CET 2008


On Saturday 01 March 2008 16:07, Mattias Gaertner wrote:
> On Sat, 1 Mar 2008 15:44:55 +0100
>
> zeljko <zeljko at holobit.net> 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.



More information about the Lazarus mailing list