On Mon, 2 Nov 2015 10:24:20 +0000 Tony Whyman <[email protected]> wrote:
>[...] > Intercept classes are a very useful technique for overcoming this > problem. I recently wanted to have a specialised TComboBox as a > TStringGrid Editor and defined an intercept class for this as: > > TComboBox = class(stdctrls.TComboBox) Reintroducing 'TComboBox' can confuse users of your code and has no benefit for grids. This should work as well: TMyComboBox = class(TComboBox) Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
