Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Structure Pane    [ Add a report in this area ]  
Report #:  101161   Status: Open
In the structure view, the bring to front and send to back popup menu commands are not enabled when they must
Project:  Delphi Build #:  16.0.4316.44803
Version:    16.2 Submitted By:   David Tetard
Report Type:  Basic functionality failure Date Reported:  11/20/2011 12:31:24 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   288891
Resolution: None (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
When you are displaying a form for the first time, e.g. you just created it or just loaded it, in the Structure Panel, the Send To Back and Bring To Front commands of the popup menu are always disabled

There is a workaround to enable them (as described), basically, it involves doing Bring To Front/Send To Back once in the form editor (but that may be a massive pain especially if you need to use bring to front because your control is buried deep in the z order).

I think they should be enabled when a control is selected in the Structure View. If you want to use Bring To Front, it's because it could be hidden in the form editor, hence not possible to use the workaround easily.

See steps.
Steps to Reproduce:
Create VCL form.
Add a TButton on it

In the structure panel, right click the button and Control menu item.

The Bring to Front and Send To Back are disabled.
Workarounds
Do have them enabled, in the form editor, right click on the control, they are now enabled.
If you then use them, the commands in the structure editor's popup will then become available.
Attachment
None
Comments

None

Server Response from: ETNACODE01