Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Explorer    [ Add a report in this area ]  
Report #:  82534   Status: Need Feedback
Delphi 2006 can't see components/frames (awesome)
Project:  Delphi Build #:  42451
Version:    10.0 Submitted By:   János Janka
Report Type:  Basic functionality failure Date Reported:  2/27/2010 12:55:47 PM
Severity:    Commonly encountered problem Last Updated: 3/2/2010 7:42:07 PM
Platform:    All platforms Internal Tracking #:  
Resolution: Need More Info (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
"Field ViewOrganization.vwOrganizationSelector does not have  a corresponding component. Remove the declaration."

If you close/open/close/open/close/open/etc. the project, then it can recognize the component again. Awesome.

Otherwise, this is a frame component/control.

That's great! Delphi has deleted the fields from my pas file. It's gas!!!!!!!!!! These things are very painful.
Steps to Reproduce:
An example. There is a own frame control in my NativeCoreViews.bpl:

type
  TNcViewTransparentFrame = class(TFrame) ...

There is an inhereted frame in my project for supporting common "select" logic:

type
  TViewItemSelector = class(TNcViewTransparentFrame) ...

There are inhereted frames from this selector frame like:

type
  TViewCountrySelector = class(TViewItemSelector) ...
type
  TViewStateProvinceSelector = class(TViewItemSelector) ...
type
  TViewSettlementSelector = class(TViewItemSelector) ...

When you use these the derivated frames (in forms, in another frame, etc), the designer/compiler?? often crashes.



Workarounds
None
Attachment
Theory.zip
Comments

Tomohiro Takahashi at 2/27/2010 6:28:25 PM -
Could you please write Steps and attach sample project to understand/reproduce your issue?

János Janka at 2/28/2010 3:04:10 AM -
Ok, I've written some things about this bug.

Tomohiro Takahashi at 2/28/2010 4:03:59 AM -
> There is a own frame control in my NativeCoreViews.bpl:
Could you please entire sample project(including the package project) and write more detailed Steps to reproduce your issue?

János Janka at 2/28/2010 7:06:46 AM -
I've attached a sample project at another report. The theory is the same. But the source of this bug is a delete operation in the designer. I tried to delete my frame but the Delphi was crashed.

Tomohiro Takahashi at 2/28/2010 4:25:25 PM -
> I've attached a sample project at another report.
Please attach it to this report to track this report properly.

János Janka at 3/1/2010 12:26:59 AM -
I've attached it again. This example presents what I want to do. It works very well but it doesn't work in a complex project where you have 10 packages, etc.

Server Response from: ETNACODE01