Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Structure Pane    [ Add a report in this area ]  
Report #:  81008   Status: Need Feedback
Structure View adds properties wrong
Project:  Delphi Build #:  14.0.3593.25826
Version:    14.0 Submitted By:   Eric Wims
Report Type:  Basic functionality failure Date Reported:  1/9/2010 7:16:43 AM
Severity:    Commonly encountered problem Last Updated: 1/9/2010 5:26:34 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
Using the "structure window" to add a Published property, it put the code in the wrong place which makes the unit unable to compile.
Steps to Reproduce:
1) put in by hand a published property to an object.

"published
      property myint : integer read fmyint write fmyint;"

this "turns on the tree item "Published" in the structure window.

2) Right Click the "Published" tree and select "New"

3) type in "property mystr: string read fmystr write fmystr"

4) Hit <ENTER>

The result is that it puts the "read and write" lines in line with the "Published" key word and the key word "property mystr" is in the section where it should be.

In otherwords, it puts property in the right spot but, read write in the wrong spot.

I didn't check the other sections to see if the same is true.
Workarounds
Put the property in the published section by hand. don't use the structure window to add read write properties.
Attachment
None
Comments

Tomohiro Takahashi at 1/9/2010 5:26:25 PM -
Could you please attach some screenshots to confirm your issue?

Server Response from: ETNACODE01