[Gambas-user] Sting declared as Const are not translated

Emanuele Sottocorno sotema at ...626...
Mon Aug 1 17:39:18 CEST 2011


Hi to all,
declaring a string like:

MyClass.Class

Create Private 

PRIVATE CONST MYSTRING As String = ("A string")

and using that string in another class like 

MyForm.Class

MyForm.Caption = MyClass.MYSTRING

even if the string is correctly translated trough the Translate Tool in
the IDE when the form opens the caption appears in the default language.
Is this correct or could be fixed?
Thanks in advance,
Emanuele






More information about the User mailing list