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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...