Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Visual Form Inheritance    [ Add a report in this area ]  
Report #:  4341   Status: Closed
Inherited Frames get a superfluos global Form variable
Project:  Delphi Build #:  7.453
Version:    7.0 Submitted By:   henk holterman
Report Type:  Minor failure / Design problem Date Reported:  5/7/2003 3:21:26 PM
Severity:    Extreme corner case Last Updated: 7/23/2007 8:35:31 AM
Platform:    All versions Internal Tracking #:  
Resolution: Won't Do (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (2 Total Ratings)
4.50 out of 5
Total Votes: None

When using VFI on frames a global variabel is placed in the Unit of the derived frame.
Steps to Reproduce:

1) File | New | Application  
2) File | New | Frame
3) File | New | Other,
    - pick the Project1 tab
    - select Frame2  (or Frame1, whatever is there)

In the interface section  of Unit3 you'll find

  Frame3: TFrame3;

This variabel is not needed and never used.
Note that the Unit2 (the 'normal' Frame) contains no such declaration.


Kristofer Skaug at 7/8/2003 8:11:46 AM -
Reproduced also for D6.2

CAS Developers at 7/20/2007 3:23:53 PM -
Problem still exists on Delphi 2007 (11.0.2738.7556).

Workaround: Delete the variable, or don't use it :-)

Server Response from: ETNACODE01