Changing MenuBar?

Questions regarding syntax

Changing MenuBar?

Postby elgunvo » Sun Sep 19, 2010 6:05 pm

Hi,

I deleted the last post as I found a tutorial on KBasic.com about MySQL however i do have a question regarding menu bars. This has been bothering me for a while.

I built an application in KBasic and released it under the GPL. So far i have had good feedback although i kept getting a question


"Will you make it multi-language?"

That was a challenge i was willing to take so I created a English.txt and a German.txt and re-programmed the forms to switch language when a user sets his/her language in the preferences field but im now in need of help. You see, i cant seem to find a way of modifying the menu bars, the rest works

How would someone dynamically set the menu captions on a function?

Any help is much appreciated and would be mentioned in my about page for the program.

Regards

Ashley
elgunvo
 
Posts: 17
Joined: Wed Aug 18, 2010 9:47 am

Re: Changing MenuBar?

Postby berndnoetscher » Mon Sep 20, 2010 7:18 am

Hi,

Check out the translation example. It is possible to create several menubars (for each language one menubar).
Strings in source code can be translated to several languages. (see the translation example as well).
berndnoetscher
Site Admin
 
Posts: 1059
Joined: Tue Sep 25, 2007 9:37 am

Re: Changing MenuBar?

Postby elgunvo » Wed Sep 29, 2010 6:26 pm

Thanks. I knew the stuff about translating strings before but the menu was the problem. I have sorted it now.
elgunvo
 
Posts: 17
Joined: Wed Aug 18, 2010 9:47 am


Return to Coding Questions

cron