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 

GREEK_CHARSET

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



Joined: 15 Dec 2002
Posts: 3

PostPosted: Sun Dec 15, 2002 10:34 pm    Post subject: GREEK_CHARSET Reply with quote

Hi,

I need to implement Greek in my application. When insert greek charakters into Dictionary manager everything looks fine (I have already added a lanugage named 'greek' and I've selected GREEK_CHARSET).

As soon as I run the application, switch over to Greek, I don't get any Greek characters, more something like this: óäösdf óäösdf

Another phenomenon is: When I do copy/paste from MS Word or another application to Dictionary manager I get something like this: 'a?p?a' (instead of 'alpha' in Greek letters).

Do you have any hints what I am doing wrong? Do I need to get a special font (I've used Arial Unicode).

yours

Herwig Huber
Back to top
View user's profile Send private message Visit poster's website
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2103

PostPosted: Mon Dec 16, 2002 2:16 pm    Post subject: Reply with quote

This looks like you didn't set the appropriate charset value for Fonts in your application. Just edit Charsets property and set GREEK_CHARSET for Greek language.
Back to top
View user's profile Send private message
plutoPlanet



Joined: 15 Dec 2002
Posts: 3

PostPosted: Mon Dec 16, 2002 6:35 pm    Post subject: Reply with quote

Hi, thank you for your suggestion.

I think I need to describe my problem more detailed:
As I mentioned: I already have selected GREEK_CHARSET for the components.

You mentioned that I have to select an "appropriate charset value for Fonts in your application". I can select appropriate charsets for components and forms, but how can I select a charset for the application itself? (However: don't thing that this is the problem).

Another thing: In my Application I have around 50 forms. In one of these form I've made _THE_ test:

1. I ran TiSlang and translated everything to English, German, Greek,...
2. I've set the TForm's charset to GREEK_CHARSET on the greek language column.
3. Compile, run, result:
Greek translation:
A) TLabel -> works
B) TDBStringGrid -> works
C) TRadiogroup -> works
D) TButton -> works NOT! (óäösdf etc....)
E) Menue -> works NOT
F) TGroupBox -> works
G) TPageControl -> works NOT

...this is the big problem I have...

btw: I use BCB6 professional (German edition) and WinXP (German edition).

A completly other question: Does TsiLang support UTF-8?

yours,

Herwig
Back to top
View user's profile Send private message Visit poster's website
plutoPlanet



Joined: 15 Dec 2002
Posts: 3

PostPosted: Mon Dec 16, 2002 8:37 pm    Post subject: Reply with quote

Hi,

ok I can partly answer this question to myself:
1. TButton won't work -> Replace them by TBitBtn
2. TMenu works when I do:
Screen->MenuFont->Name="Arial";
Screen->MenuFont->Charset=GREEK_CHARSET;

But:

What can I do with TPageControl ??

Herwig
Back to top
View user's profile Send private message Visit poster's website
dorin



Joined: 21 Nov 2002
Posts: 20
Location: House of Technics

PostPosted: Tue Dec 17, 2002 10:16 am    Post subject: Reply with quote

Hi!

You can make the page control work exactly the same way as Borland made TMenuItem and TBitBtn. You must owner-darw them.

Set TPageControl's OwnerDraw property to True. And draw tab captions in the OnDrawTab event.
Back to top
View user's profile Send private message Visit poster's website 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