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

Jesus ea7dfh at ...2382...
Mon Aug 1 18:26:44 CEST 2011


El 01/08/11 17:39, Emanuele Sottocorno escribió:
> 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

Shouldn't a constant to be "constant"?

Hope Benoit will enlighten us.


-- 
Jesus Guardon




More information about the User mailing list