Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-10

Code completion toasted my form declaration

2 messages · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tony Maro

Don't ask me what caused it because I did a lot before going to rebuild...

Some time while creating new things though, code completion took away the private,public and published descriptions in my TFrmMain object and placed those keywords at the END of the definition. Here's the resulting code:

TFrmMain = class(TForm)
    FForecastLen: Integer;
    BtnEditWithdrawal: TBUTTON;
    BtnWithdrawalOk: TBUTTON;
    BtnDepositOk: TBUTTON;
    BtnDepositDropCal: TBUTTON;
    BtnDepositCancel: TBUTTON;
    BtnNewDeposit: TBUTTON;
{ snipped out large section of object definitions for space here...}
    procedure CheckSelected(Sender: TObject; Row, Column, X, Y: Integer);
    procedure ScheduleSelected(Sender: TObject; Row, Column, X, Y: Integer);
    procedure CheckTransChanged(Sender: TObject);
    procedure BtnNewScheduleClick(Sender: TObject);
    procedure BtnNewSchedWithdrawalClick(Sender: TObject);
  private
    { private declarations }
  public
    { public declarations }
  end;

It also deleted the "Protected" keyword.

-Tony

Reply by email

Tony Maro

You ever wish you hadn't hit send...?

Obviously that's not what caused my problems.

I think someone has FIXED a bug that I was exploiting without realizing.

Never mind all... LOL!

Earlier message 12 lines
-----Original Message----- From: Tony Maro Sent: Tue 10/8/2002 10:17 PM To: Cc: Subject: [lazarus] Code completion toasted my form declaration Don't ask me what caused it because I did a lot before going to rebuild... Some time while creating new things though, code completion took away the private,public and published descriptions in my TFrmMain object and placed those keywords at the END of the definition. Here's the resulting code: <<winmail.dat>>

Reply by email