[lazarus] Setting callbacks

Marc Weustink weus at quicknet.nl
Sun Dec 5 12:34:00 EST 1999


Hi,
Just wondering, shouldn't the calls to SetCallBack be part of the creation
of a window/widget ?

I mean, now the component is created in CreateWnd and the callback
functions are set in CreateWnd/InitializeWnd (depends on the time you read
this). The set of CallBacks is per ComponentStyle allways fixed, so why not
doing this after to (gtk/qt/win/whatever)component is created (and move
this out of LCL since IMHO it doesn't belong there)

Marc







More information about the Lazarus mailing list