Jump to content

Error while loading file "Error reading FrmMainOrder.ClientHeight: Property ClientHeight does not exist"


BantuKumar

Recommended Posts

I am getting following error when I try to load my form.

 

---------------------------

Debugger Exception Notification

---------------------------

Project w3wp.exe raised exception class EReadError with message 'Error reading FrmMainOrder.ClientHeight: Property ClientHeight does not exist'.

---------------------------

Break   Continue   Help   

---------------------------

 

I checked my DFM and there no property with name ClientHeight.

 

I am using 1.0.0.1358 version of UniGUI.

 

Link to comment
Share on other sites

Please open the related Form and save it again.

 

I already tried following

 - Opened the Forms design view and saved it again but not worked.

 - Checked the DFM there no such property mentioned 

 - I tried to just re-publish them .Add a published section in the Form and add them again for example:

published

property ClientWidth;

property ClientHeight;

 

It worked but after this I received the same error for Caption I did the same for Caption as well then I get the error for OldCreateOrder and it is not stopping so I am not sure if it is a right track to follow.

 

Can you please help me with it?

 

Thanks

Link to comment
Share on other sites

After a long effort what we found is...
  • Delphi was unable to do correct linking of files and classes if there are two or more files with same Frames/Forms name in a project. 
  • Frames name must be unique throughout a project to avoid class conflict.

 

For me it is resolved !!

:)  :rolleyes:

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...