Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
3rdRail
Blackfish SQL
C#Builder
C++BuilderX
CodeCentral
Conference
DBArtisan
Delphi for PHP
Delphi Prism
Delphi-BCB
EDN
InterBase
JBuilder
JBuilder 2007
Kylix
Optimizeit
QualityCentral
Test project
You are not logged in.
Help
Print
Public Report
Report From:
[ Add a report in this area ]
Report #:
22938
Status:
Reported
Faulty error messages using simple types in deeper namespaces
Project:
Build #:
10.0.2166.28377
Version:
10.0
Submitted By:
Horst Reichert
Report Type:
Minor failure / Design problem
Date Reported:
12/30/2005 6:13:52 AM
Severity:
Commonly encountered problem
Last Updated:
12/30/2005 6:14:47 AM
Platform:
All platforms
Internal Tracking #:
Resolution:
None
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
(1 Total Rating)
5.00 out of 5
Total Votes:
None
Description
see Steps
Steps to Reproduce:
1. Create a package project (attached NameSpace.Test.bdsproj)
2. Add a new Component for WinForms class (attached NameSpace.Test.AComponent.pas)
3. To the source add a simple enumerations type as:
type
TSomeType = (One, Two);
4.Define a property using this type:
published
property SomeType: TSomeType read FSomeType write FSomeType;
5. Build the project;
6. Add the new package to the components palette using <Component><Installed .net Components> <Select an Assembly> select NameSpace.Test.dll
7. Create a WinForms test application (attached Project2.bdsproj)
8. Drop a TComponent to the form
9. Run the project it will compile fine
10. Close the project and open again
The message line will show:
The field 'One' could not be found on the target object. Make sure that the field is defined as an instance variable on the target object and has the correct scope.
Workarounds
None
Attachment
NameSpaceTest.zip
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us