Ignore:
Timestamp:
Mar 21, 2012, 6:18:39 PM (13 years ago)
Author:
chronos
Message:
  • Fixed: Translation of runtime craeted forms.
  • Fixed: Do not enable controls if condition not met.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Client/Forms/UFormMain.pas

    r49 r50  
    182182  try
    183183    SettingForm := TSettingForm.Create(nil);
     184    Core.CoolTranslator1.TranslateComponentRecursive(SettingForm);
    184185    SettingForm.ShowModal;
    185186  finally
     
    224225  try
    225226    ImportStructureForm := TImportStructureForm.Create(MainForm);
     227    Core.CoolTranslator1.TranslateComponentRecursive(ImportStructureForm);
    226228    ImportStructureForm.ShowModal;
    227229  finally
     
    234236  try
    235237    LoginForm := TLoginForm.Create(MainForm);
     238    Core.CoolTranslator1.TranslateComponentRecursive(LoginForm);
    236239    Core.Profiles.LoadFromRegistry(Core.RegistryRootKey, Core.RegistryKey);
    237240    if LoginForm.ShowModal = mrOK then begin
     
    274277  try
    275278    AboutForm := TAboutForm.Create(nil);
     279    Core.CoolTranslator1.TranslateComponentRecursive(AboutForm);
    276280    AboutForm.ShowModal;
    277281  finally
Note: See TracChangeset for help on using the changeset viewer.