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 

ReportBuilder

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



Joined: 16 May 2003
Posts: 7

PostPosted: Tue May 20, 2003 3:45 am    Post subject: ReportBuilder Reply with quote

How to translate string constant in ReportBuilder?
I have not much problem with Variables for RB cause there are all listed in the type declaration of the main form (TForm1) as siComp reads all in. But not for strings in calc events.
eg.
Code:

procedure ppLabel1OnGetText(var Text; String);
begin
  Text:= Text + ' How to translate?';
end;


Please advice.
Back to top
View user's profile Send private message
gaivans



Joined: 29 Nov 2002
Posts: 71

PostPosted: Tue May 20, 2003 6:56 am    Post subject: Reply with quote

Hello,

The siLang Expert can find and add to translation data any strings. From your example it is not clear which unit contains the above procedure. But anyway look the Expert's menu "File|Source". It has two subitems "With form..." and "Without form...".

If your procedure is located in a unit which has no .dfm choose "Without form...". You will be prompted to specify the unit to scan for hard-coded strings and the form with TsiLang component which will store found strings.
Back to top
View user's profile Send private message AIM Address MSN Messenger
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