[Lazarus] Hint about CreateWnd
zeljko
zeljko at holobit.net
Sat Mar 1 15:59:13 CET 2008
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.
More information about the Lazarus
mailing list