[lazarus] Code completion toasted my form declaration
Tony Maro
TonyM at nlisc.com
Tue Oct 8 23:12:25 EDT 2002
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
More information about the Lazarus
mailing list