Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid propertyh value when app run on different PC

Status
Not open for further replies.

thehelper

Technical User
Feb 27, 2005
1
GB
When running my delphi 6 application I get the following error after moving it to another PC:

Error reading Enquiryform.Color. Invalid property value. Ignore this error and continue? Note: Ignoring the error may cause components to be deleted or property values to be lost.
 
Could be windows version, or I have seen this sort of thing with PC's using Low spec video cards.
You can call API functions to get the colour/ screen settings (dont have the code to hand)







Steve
DNA still on the way, as is the new release of Star............
 
You said it's when you run the app, but do you mean when you open the project in Delphi?
The reason I ask is that the error message you gave sounds like the error reported by Delphi if you open a project with unrecognised components in it.
e.g. if a new component (or package) is added to the VCL on one PC, and that new component is then used in a project, to open the project on another PC it must also have the new component added to the VCL.
It sounds as though the the copy of Delphi on your PC doesn't recognise the class of EnquiryForm, or has a different copy of the class without the Color property.

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top