HI
Thinking about set lang... this happens every time going into the program. It's possible set this one time, save this var in the config file and after call every time when the program start? in order to begin:
PUBLIC FUNCTION Main() AS Boolean
CheckLang() 'check and set lang from config file or call Set lang
if lang=null then
SetupLanguage()
end if
RunApplication()
CATCH
FShowError.Create([Error.Code, Error.Text, Error.Where]).ShowModal()
QUIT
END
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thankses for your suggestion!
The problem is that the configuration comes read from the application, and does not give the launch module; Gambas2 does not have the possibility to modify the LANG during and after the start of the application, and the only way in order to make it is to define it from the launch module. I have already tried such solution previously, but it has not been possible to apply it to me.
However, I take your idea like base for ulterior studies, we will see if it is possible to find a solution suitable.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI
Thinking about set lang... this happens every time going into the program. It's possible set this one time, save this var in the config file and after call every time when the program start? in order to begin:
PUBLIC FUNCTION Main() AS Boolean
CheckLang() 'check and set lang from config file or call Set lang
if lang=null then
SetupLanguage()
end if
RunApplication()
CATCH
FShowError.Create([Error.Code, Error.Text, Error.Where]).ShowModal()
QUIT
END
Thankses for your suggestion!
The problem is that the configuration comes read from the application, and does not give the launch module; Gambas2 does not have the possibility to modify the LANG during and after the start of the application, and the only way in order to make it is to define it from the launch module. I have already tried such solution previously, but it has not been possible to apply it to me.
However, I take your idea like base for ulterior studies, we will see if it is possible to find a solution suitable.
Thanks!