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 

Find dialog

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



Joined: 14 Mar 2006
Posts: 22
Location: Canada

PostPosted: Wed Jul 19, 2006 2:22 pm    Post subject: Find dialog Reply with quote

I replaced in my Delphi application the standard FindDialog with a siFindDialog.

Most of the text appears translated, except 2 small problems:
- the dialog caption 'Find' text stays untranslated;
- the Direction group is not resized to match the translation (the French translated word "Haut" = "Up" do not show the end t).

It's not big deal but:

Is this something known? Is there a simple solution?

Thanks,
Ioan
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Thu Jul 20, 2006 8:54 am    Post subject: Reply with quote

Resizing of dialog controls is not quite easy. For setting the caption you can use the following code:
Code:
procedure TForm1.siFindDialog1Show(Sender: TObject);
const
begin
  SendMessage(siFindDialog1.Handle, WM_SETTEXT, 0, Integer(PChar(siLang1.GetTextOrDefault('IDS_0' (* 'Find' *) ))));
end;

Hope this helps.
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