|
|||
|
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Exclude translation of TLabel component with name lblNotTranslate
|
| Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius | Page: 1 2 |
|
|||||||||||||||
| Exclude translation of TLabel component with name lblNotTranslate - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support | |||||||||||||||||
| Author | Post | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||
|
Ilkka.Salmenius Administrator
|
starvisitor wrote: procedure BeforeTranslate(host: TComponent; obj: TObject; propertyInfo: PPropInfo; const currentValue: Variant; var newValue: Variant; var cancel: Boolean); This should work.
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
starvisitor Member
|
Nice, it works. But now I have another effect. My exe creates a Systemtray Menu. Therefore inside the FormCreate Event I use this code: with TrayIconData do begin cbSize := SizeOf(TrayIconData); Wnd := Handle; uID := 0; uFlags := NIF_MESSAGE + NIF_ICON + NIF_TIP; uCallbackMessage := WM_ICONTRAY; hIcon := Application.Icon.Handle; StrPCopy(szTip, Application.Title); end; Now, if I switch the language over the Popup-Menu entry, the Form1 bounce on the left side of my screen, then centers on Screen and then my systemtray menu disappeared. What is the problem, now? Thanks for help!!
|
||||||||||||||||
| |||||||||||||||||
|
|||||||||||||||||
|
Ilkka.Salmenius Administrator
|
Try this
____________________ http://www.sisulizer.com - Three simple steps to localize |
||||||||||||||||
| |||||||||||||||||
| |||||||||||||||||
|
starvisitor Member
|
I put only "or (obj = Form1)" at my code. Now everything is fine and pretty ;-)) I'm so happy now. To choose sisulizer was the correct arbitration for me. Your support is brilliant! Many thanks!!!
|
||||||||||||||||
| |||||||||||||||||
| Current time is 09:03 pm | Page: 1 2 |
| .NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > Exclude translation of TLabel component with name lblNotTranslate | |
Sisulizer software localization tool - Three simple steps to localize