Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Code page
Message
From
19/09/2006 13:40:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
19/09/2006 11:57:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01155137
Message ID:
01155185
Views:
27
>I work on project for a library. Client want to enter book name in different languages (n same form) by changing languages on language bar. How to acomplish that? Question is whitch code page to choose for forms and tables? Whitch font? For example, one book name is in serbian latin, another in serbian cirilic or greek, german, english, french. Default language (most of books) is serbian latin.
>
>Is CP 1251 and Times New Roman CE best solution I can get? What about language for non-unicode programs?
>
>Is it possible to solve this problem?

Not with VFP6. In VFP9 (or maybe just 8, don't remember) you can switch the script for a given textbox - though you'd have all the trouble when printing, then.

Another solution would be to use RTF box, it's practically unicode, and you'd have to store the values in a memo - and also have a regular character field where it'd store the CP 1250 equivalent of the title.

As for switching the keyboard layout, search VFUG.org, there's an article by Vladimir Ševčenko, years ago, about using some neat API to switch them in text.GotFocus(). You'd probably need some other way to select - a combo on top of the form, probably - because his example supposes there are Latin and Cyrillic textboxes. You may need them all in one textbox, so selector would have to be outside.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform