Forum > General

custom components?


I'm using TStringGrid to display my data, and it works just fine.
The question is, if I wanted to add some new methods to TStringGrid, is there any light-weight way to do it?

If I just use

   TOwnStringGrid (TStringGrid)
      procedure Update(Sender: TObject);

but then I can't just drag, drop and edit TOwnStringGrid with form designer ?

Making a new component package with a new component sounds a bit like overkill, as I just wanted to add one or two methods to be used only in this one project...

Any ideas to help a noob like me?

Afaik no. Either you access it in code or you install it like

Btw. your syntax is wrong.
Should be:
TOwnStringGrid = class(TStringGrid)


[0] Message Index

Go to full version