Ignore:
Timestamp:
Aug 22, 2016, 9:31:44 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Dynamically created forms were not translated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormAcronym.pas

    r95 r96  
    5656
    5757uses
    58   UFormMain, UFormCategorySelect;
     58  UCore, UFormCategorySelect;
    5959
    6060{ TFormAcronym }
     
    6363  );
    6464begin
    65   FormMain.PersistentForm1.Save(Self);
     65  Core.PersistentForm1.Save(Self);
    6666end;
    6767
    6868procedure TFormAcronym.FormCreate(Sender: TObject);
    6969begin
    70 
     70  Core.CoolTranslator1.TranslateComponentRecursive(Self);
    7171end;
    7272
     
    110110procedure TFormAcronym.FormShow(Sender: TObject);
    111111begin
    112   FormMain.PersistentForm1.Load(Self);
     112  Core.PersistentForm1.Load(Self);
    113113  UpdateInterface;
    114114end;
Note: See TracChangeset for help on using the changeset viewer.