Board index » delphi » 'No parent window' error

'No parent window' error

Hi everyone,

I just got a very strange RTE: 'ResultSgd has no parent window',
but the IDE can't find the error address. (D1)

This TStringGrid is filled in a FormShow procedure (after some heavy database
calculations). It is old code that used to work before (doesn't it always?).
The grid is not created dynamically, is just sits there waiting to be
filled with Cells[x,y] := ...
Grid font and size are adjusted as well.

Would this be a proper error message or just the result of some code
e.g. writing garbage all over memory.

Suggestions?

Thanks,
Jan

-----------------------------------------------------------------------
Jan Doggen                Masters Software           mass...@xs4all.nl
P.O. Box 697              2300 RA  Leiden            The Netherlands
-----------------------------------------------------------------------
** Specialists in multimedia software for education and presentation **
-----------------------------------------------------------------------
Usage of this email address for commercial purposes costs US$ 50 per
message. By using this email address you agree to this condition.
-----------------------------------------------------------------------

 

Re:'No parent window' error


Yep, it was a stupid memory overwrite:

Counter^[Databasevalue] := .....

with a wrong value in the database.

Thanks though to all who took the trouble to read or answer my message.

Bye,
Jan

-----------------------------------------------------------------------
Jan Doggen                Masters Software           mass...@xs4all.nl
P.O. Box 697              2300 RA  Leiden            The Netherlands
-----------------------------------------------------------------------
** Specialists in multimedia software for education and presentation **
-----------------------------------------------------------------------
Usage of this email address for commercial purposes costs US$ 50 per
message. By using this email address you agree to this condition.
-----------------------------------------------------------------------

Other Threads