Ignore:
Timestamp:
Jun 26, 2012, 7:23:47 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Created main UCore unit and moved non visual code from UFormMain to it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Forms/UFormMessages.pas

    r47 r53  
    3434
    3535uses
    36   UFormMain, UFormSourceCode;
     36  UCore, UFormMain, UFormSourceCode;
    3737
    3838{ TFormMessages }
     
    5252procedure TFormMessages.ListView1Data(Sender: TObject; Item: TListItem);
    5353begin
    54   with FormMain, FormSourceCode do
     54  with Core, FormMain, FormSourceCode do
    5555  with TErrorMessage(Compiler.ErrorMessages[Item.Index]) do begin
    5656    Item.Caption := FileName;
     
    6767  P: TPoint;
    6868begin
    69   with FormMain, FormSourceCode do
     69  with Core, FormSourceCode do
    7070  if Assigned(ListView1.Selected) then
    7171  with TErrorMessage(ListView1.Selected.Data) do begin
     
    8181procedure TFormMessages.Reload;
    8282begin
    83   ListView1.Items.Count := FormMain.Compiler.ErrorMessages.Count;
     83  ListView1.Items.Count := Core.Compiler.ErrorMessages.Count;
    8484  ListView1.Refresh;
    8585end;
Note: See TracChangeset for help on using the changeset viewer.