🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.migration
2 messages
2 total messages Started by Petrucio Soares Tue, 29 Jan 2008 11:09
QuickRep 4.0 Delphi 7 to Delphi 2007
#203
Author: Petrucio Soares
Date: Tue, 29 Jan 2008 11:09
12 lines
1328 bytes
We have a Form created on Delphi 7. When we open it in Delphi 2007 we get
the message:

"Erro reading Form1.Frame.Color: Property Frame.Color does not exist. Ignore
the error and continue ?"

We "ignore all", modify something in the Form, save it and the error
continues.

Can someone help us ?

Petrucio Soares
Re: QuickRep 4.0 Delphi 7 to Delphi 2007
#209
Author: Tony Lacy
Date: Wed, 27 Feb 2008 18:52
40 lines
2427 bytes
Petrucio Soares wrote:
> We have a Form created on Delphi 7. When we open it in Delphi 2007 we
> get the message:
>
> "Erro reading Form1.Frame.Color: Property Frame.Color does not exist.
> Ignore the error and continue ?"
>
> We "ignore all", modify something in the Form, save it and the error
> continues.
>
> Can someone help us ?
>

I get the same error with an example program from here:

http://delphi.about.com/od/humorandfun/a/fdac_sudoku.htm

When I try to open the QPGridSolution form in D2007.

Here's my guess. In D7 a TQuickRep can be added to a project in two ways.
a) Dropped on a form as a component.
b) A TQuickReport module can be added to the project using File/New

The two methods seem to produce dfm files with different structures and, on 
my D2007 installation, the format generated in method b) gives the error. 
Furthermore, there is no option to use method b) for QuickReports in D2007.

The fix:
1) Open the .dfm file as text...copy the contents to a text editor
2) Open it as a form, choose ignore all and the form will load with the 
Quick report component deleted.
3) Drop a Quick report component onto it from the component pallete.
4) Save the form
5) Open the saved dfm form as text
6) Find the Quick report component in the text. Copy required text from the 
text editor used in step 1)

The form should now load OK.

T
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads