On Saturday 01 March 2008 15:44, zeljko 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 ?
error ! it is called during design time, but not first time when I drop new control on to form (i can see my control, but without default settings - it's empty) - I've fixed this by overriding UpdateShowing, and calling defaults when HandleAllocated. _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
