SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error when trying to Exclude property in Translation Editor

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite
View previous topic :: View next topic  
Author Message
emin



Joined: 24 Apr 2003
Posts: 8

PostPosted: Thu Apr 24, 2003 9:00 am    Post subject: Error when trying to Exclude property in Translation Editor Reply with quote

5.2.2 CLX Delphi 7

In translation editor right click any translation and exclude it.
Then try to exclude additional translations.
Exception: Cannot focus a disabled or invisible window (Unnamed).

Also tested on Kylix3, there is no problem.

Emin
Back to top
View user's profile Send private message
gaivans



Joined: 29 Nov 2002
Posts: 71

PostPosted: Thu Apr 24, 2003 10:14 am    Post subject: Reply with quote

Hello,

Thank you. We will fix this issue in the next release. If you need the fix promptly, please modify the unit "siTransEditor.pas" as follows:

1) In the
constructor TExclActionForm.Create(AOwner: TComponent);
instead the line:
ItemIndex := 0;
write this line:
Items.Text := #13#10#13#10#13#10; // 5.2.3
2) In the
function TExclActionForm.Dialog(const CompName, PropName: string;
Index: integer): TExclActionResult;
replace the block:
with rgpAction.Items do begin ... end
with this one:
// 5.2.3
with rgpAction do
begin
Items[0] := Format('Exclude "%s" property for %s', [PropName, CompName]);
Items[1] := Format('Do not translate all properties of %s', [CompName]);
Items[2] := Format('Exclude "%s" property for all Components', [PropName]);
end;

After that rebuild the package.
Back to top
View user's profile Send private message AIM Address MSN Messenger
emin



Joined: 24 Apr 2003
Posts: 8

PostPosted: Thu Apr 24, 2003 11:01 am    Post subject: Reply with quote

Thank you
applied the fix, and it is fine now.
Emin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> TsiLang Components Suite All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group