RE: Russian Text in VB6.0

From: Marco Cimarosti (marco.cimarosti@essetre.it)
Date: Thu Mar 28 2002 - 13:32:17 EST


Michael (michka) Kaplan wrote:
> > cmdMyButton.Caption = "Чао а тутто ил мондо!"
> > cmdMyButton.Font.Name = "MyCyrillicFont"
>
> Well, this will be work if you are on compiling a Cyrillic system --
> otherwise you cannot have Cyrillic strings in the code.

Yes, correct. My real code actually called a function to load the string
from a database: I adapted it for the example without thinking twice.

> > Note that this approach implies that all forms are loaded
> (although not
> > necessarily shown) at start up, because the object <Forms>
> only contains
> > loaded forms. The form's menu should be just one more
> control, thus it
> > should be handled by the loop as well.
>
> The add-in assumes you will add an init call to each form's
> load event.

But, with this approach, you cannot change the language *after* the form is
loaded. So you can't, for instance, implement a "Language" menu, or link a
language to a user id.

_ Marco



This archive was generated by hypermail 2.1.2 : Thu Mar 28 2002 - 14:09:35 EST