Board index » delphi » D2: a sudden rash of "property does not exist" errors?!

D2: a sudden rash of "property does not exist" errors?!

Quite suddenly, I am encountering "error reading form: property does not
exist" messages when opening forms at runtime which work just fine in design
time and which worked -- literally -- yesterday afternoon.

The properties being complained about include the font and caption of a
TDataModule; both of which properties most certainly do exist.

So, obviously, some file has become corrupted and needs to be rebuilt.  But
which one(s)?

A search of DejaNews revealed many stabs on this subject but no concrete
answers and several messages to which no reply had been issued.

 

Re:D2: a sudden rash of "property does not exist" errors?!


In article <news-reply.6464.002F0...@sundialservices.com>, Sundial
Services <news-re...@sundialservices.com> writes

Quote

>Quite suddenly, I am encountering "error reading form: property does not
>exist" messages when opening forms at runtime which work just fine in design
>time and which worked -- literally -- yesterday afternoon.

>The properties being complained about include the font and caption of a
>TDataModule; both of which properties most certainly do exist.

>So, obviously, some file has become corrupted and needs to be rebuilt.  But
>which one(s)?

>A search of DejaNews revealed many stabs on this subject but no concrete
>answers and several messages to which no reply had been issued.

Since when has a TDataModule had any properties at all (apart from
Name/Tag)?

It sounds like you might have a mismatch between your .pas and .dfm
files: have you been renaming files?
--
Mark Williams                   M...@polyhedron.co.uk

Polyhedron Software Ltd.        
Programs for Programmers - QA, Compilers, Graphics

************ Visit our Web site on http://www.polyhedron.co.uk/ ************

Re:D2: a sudden rash of "property does not exist" errors?!


It's probably not relevant here but these are the errors you get when
trying to load a Delphi 3 form into Delphi 2

kjb.

On Wed, 5 Nov 1997 09:31:03 +0000, Mark Williams <M...@polyhedron.com>
wrote:

Quote
>In article <news-reply.6464.002F0...@sundialservices.com>, Sundial
>Services <news-re...@sundialservices.com> writes

>>Quite suddenly, I am encountering "error reading form: property does not
>>exist" messages when opening forms at runtime which work just fine in design
>>time and which worked -- literally -- yesterday afternoon.

>>The properties being complained about include the font and caption of a
>>TDataModule; both of which properties most certainly do exist.

Other Threads