|
|||
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius |
|
|||||||||||||
| Bug or feature? - Bugs and Quirks in Sisulizer - Technical Support (You need to be registered at the forum to write) - Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... | ||||||||||||||
| Author | Post | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
|
Jacob Pedersen Member
|
I use embedded resource dll's which I extract at run time when needed. I have chosen only to include strings in my dll's. When changing language I use the code from reInit.pas (Borland Delphi 2006) to go through all forms to update the strings. However more than just strings are changed. It appears at least the following gets touched too: * Application size changes. It gets the size of the form at design time. It's no longer maximized * Some graphics disappear. Same bitmaps and icons are wanted for all translations. A custom component where graphics is set via: AButton.ImageList := AImgList; AButton.GlyphIndex := AGlyphIndex; losses the graphics? * Application Title/Caption changes. Maybe I need to update myself but that will be alot of work. It would be better if it only changed if it was not changed at runtime * Date on a TMonthCalender changes? * Toolbuttons on Toolbars changes location. Some toolbars which are hidden at design time and set visible at runtime, disappear. So all in all. A lot more than my strings are touched. Question is: Is this an option (I looked but could not find any thing), limitation of SL or is there something wrong with code in reInit? Thanks
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Jaakko.Salmenius Administrator
|
Hi Jacob, When you use LoadNewResourceModule and ReinitializeForms functions VCL reloads resources but does not call the events (e.g. OnCreate and OnShow) again. If you have added new components and set their properties or changes the visibility of existing components on TForm.OnCreate or TForm.OnShow events you have to redo the changes again after you have called LoadNewResourceModule and ReinitializeForms functions. Jaakko
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
|
||||||||||||||
|
Jacob Pedersen Member
|
Ok I see thanks... I have blocked this function in my code. Now I just need to learn how to stop autoloading of resource DLL's, then all should be well and I can purchase the software http://www.sisulizer.net/view_topic.php?id=213&forum_id=3&jump_to=969 You have excellent support, which is good to know before a purchase
|
|||||||||||||
| ||||||||||||||
| ||||||||||||||
|
Markus.Kreisel Administrator
|
Jacob Pedersen wrote
Thank you very much. It is our main goals to make our custumers happy. This forum helps us to do this in pulic so everybody can see it. We are not perfect but with the help of our valued users we work hard to always advance in the right direction. Best Markus
____________________ http://www.sisulizer.com - Three simple steps to localize |
|||||||||||||
| ||||||||||||||
| Current time is 10:45 am | |
| Localization Tool for VB, Delphi, .NET, C#, VB.NET, XML, Online Help, HTML ... > Technical Support (You need to be registered at the forum to write) > Bugs and Quirks in Sisulizer > Bug or feature? | |
Sisulizer software localization tool - Three simple steps to localize