Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Refactoring/Safe Delete    [ Add a report in this area ]  
Report #:  88662   Status: Closed
Safe Delete does not work properly
Project:  Delphi Build #:  15.0.3890.34076
Version:    15.0 Submitted By:   Eko Indriyawan
Report Type:  Basic functionality failure Date Reported:  10/5/2010 7:47:18 AM
Severity:    Commonly encountered problem Last Updated: 12/11/2012 10:35:11 PM
Platform:    32 Bit Internal Tracking #:   17943
Resolution: Fixed (Resolution Comments) Resolved in Build: : 17.0.4723.55752
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
It seems that feature Safe Delete does not work properly. Actually, I rarely use this feature. Since I write book for Delphi XE, I try to explain many important feature to show developer in order to use it. When I try to use feature Safe Delete, I cannot use it properly, IDE cannot provide me the correct information and it seems that this feature does not work by failing to catch any information that has relation with field or method that will be deleted.

For more information, please see the steps tab to reproduce this issue.

Thank in advance.

Regards,


Eko Indriyawan
Steps to Reproduce:
1. I try to create field or method in private declaration
2. Then, I try to delete it with Safe Delete
3. Show the Safe Delete Dialog, but I cannot see the information in the usages.

Here are the codes of mine:

unit Unit2;

interface

uses
  Windows,
  Messages,
  SysUtils,
  Variants,
  Classes,
  Graphics,
  Controls,
  Forms,
  Dialogs,
  StdCtrls;

type
  TForm2 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    eko: Integer;
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form2: TForm2;

implementation

{$R *.dfm}

procedure TForm2.Button1Click(Sender: TObject);
begin
eko := 109;
//
end;

end.
Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01