Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

QuickRep 4.0 Delphi 7 to Delphi 2007

293 views
Skip to first unread message

Petrucio Soares

unread,
Jan 29, 2008, 6:09:03 AM1/29/08
to
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


Tony Lacy

unread,
Feb 27, 2008, 1:52:59 PM2/27/08
to

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


0 new messages