Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Database/Fields Editor    [ Add a report in this area ]  
Report #:  30544   Status: Open
TFields Dialog Should Close on Escape
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Erik Berry
Report Type:  Suggestion / Enhancement Request Date Reported:  6/24/2006 2:32:16 PM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   240852
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: None
Description
The TFields dialog should close when the user presses escape.

--sysop edit--

Although this editor is non-modal it would be consistent with the behaviour of the debug windows, which can be closed with Escape.

If this is implemented, it should also be done for the Collection Editor.
Steps to Reproduce:
File, New VCL Win32 Forms App
Add TADOTable to the form and double click it to bring up the fields editor
Hit ESC and nothing happens
Workarounds
None
Attachment
None
Comments

Sebastian Modersohn at 6/24/2006 3:14:23 PM -
The Fields editor is non-modal just like the Collection Editor, so why would you expect it to close with Esc? AFAIK only modal dialogs typically can be closed with Esc. Note that the modal dialogs "Add fields" and "New field" close with Esc as expected.

Erik Berry at 6/24/2006 4:21:51 PM -
I just don't see any reason for it not to close on ESC, since that key does nothing now.  All of the debug windows seem to work this way.

Sebastian Modersohn at 6/25/2006 3:36:41 AM -
> All of the debug windows seem to work this way.

Oh, I didn't realize that. Now I do think that should be made consistent throughout the product, but then you would run into problems with e.g. the Object Inspector and the Tool Palette where Esc cancels incremental search/filtering.

I'll add the reference to the Debug Windows behaviour to the report and also mention that if this is implemented, it should also be done for the Collection Editor.

Serguei Dosyukov at 7/3/2006 11:50:39 AM -
<sysop> Resolution: Won't do
I disagree on the report
it is not modal dialog
it is not the dialog available by any of the shortcuts
accidental click on the Esc will cause to have window closed which will then require a little bit more actions to reopen when used
</sysop>

Server Response from: ETNACODE01