For one of my components I'm wanting to override the Set method of the
ancestors property, however, delphi complains that it doesn't exist
because its defined as private, is there a nice easy/elegant way around
this without reimplementing the property myself?
In this case its TStringGrid.SetCells() which has the following code:
begin
TStringGridStrings(EnsureDataRow(ARow))[ACol] := Value;
EnsureColRow(ACol, True);
EnsureColRow(ARow, False);
Update(ACol, ARow);
end;
Whilst the Get/Set methods are only short, I was wondering if there a more
elegant/nicer way to do this... (all I want to do is add 2 lines of code
to the routine <g>).
--
I am naked, hear me purr.
Now Playing: Yearning - Naïveté
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz