Ah, but then you can't edit it in the IDE.

OK, intercept classes are a quick and dirty way of avoiding defining a new component - but as long as you are willing to "hold your nose", they do a useful job.

On 02/11/15 10:49, Mattias Gaertner wrote:
Reintroducing 'TComboBox' can confuse users of your code and has no
benefit for grids. This should work as well:

TMyComboBox = class(TComboBox)


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to