Ignore:
Timestamp:
Mar 4, 2012, 9:56:47 AM (13 years ago)
Author:
chronos
Message:
  • Modified: Forms renamed to names with Form prefix.
File:
1 edited

Legend:

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

    r42 r45  
    3131
    3232uses
    33   UMainForm, UCompiler, UCompilerSettingsForm, UProducer, UTarget;
     33  UFormMain, UCompiler, UFormCompilerSettings, UProducer, UTarget;
    3434
    3535resourcestring
     
    4646procedure TFormTargets.ListView1Data(Sender: TObject; Item: TListItem);
    4747begin
    48   if (Item.Index >= 0) and (Item.Index < MainForm.Compiler.Targets.Count) then
    49   with TTarget(MainForm.Compiler.Targets[Item.Index]) do begin
     48  if (Item.Index >= 0) and (Item.Index < FormMain.Compiler.Targets.Count) then
     49  with TTarget(FormMain.Compiler.Targets[Item.Index]) do begin
    5050    Item.Caption := Name;
    51     Item.Data := MainForm.Compiler.Targets[Item.Index];
     51    Item.Data := FormMain.Compiler.Targets[Item.Index];
    5252    //Item.SubItems.Add(Producer.CompilerPath);
    5353  end;
     
    5757begin
    5858  if Assigned(ListView1.Selected) then begin
    59     CompilerSettingsForm.LoadFromProducer(TProducer(ListView1.Selected.Data));
    60     if CompilerSettingsForm.ShowModal = mrOk then
    61       CompilerSettingsForm.SaveToProducer(TProducer(ListView1.Selected.Data));
     59    FormCompilerSettings.LoadFromProducer(TProducer(ListView1.Selected.Data));
     60    if FormCompilerSettings.ShowModal = mrOk then
     61      FormCompilerSettings.SaveToProducer(TProducer(ListView1.Selected.Data));
    6262    ReloadList;
    6363  end;
     
    6666procedure TFormTargets.ReloadList;
    6767begin
    68   ListView1.Items.Count := MainForm.Compiler.Targets.Count;
     68  ListView1.Items.Count := FormMain.Compiler.Targets.Count;
    6969  ListView1.Refresh;
    7070end;
Note: See TracChangeset for help on using the changeset viewer.