Automatically create menu structure

All announcements, questions and issues related to the TsiLang Components Suite.
Post Reply
moelski
Posts: 21
Joined: Thu Jan 19, 2006 2:28 pm
Location: Germany
Contact:

Automatically create menu structure

Post by moelski »

Hi @all!

I just wonder if anyone has some code for to automatically create the menu structure for the different languages.

So the following steps should be done by the code:
- get number of langs out of SIB
- get lang names out of SIB
- create menu for languages:
----> Language
|------> German
|------> English
|------> xxxxxx

Set the required event for switching the language.

Has someone something like this ?!
Greetz Moelski
isiticov
Site Admin
Posts: 2416
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Under the Demo\SIBperLanguage folder you will find a sample project that creates radio-items depending on SIB files.
In order to dynamically create menu you can read http://www.tsilang.com/press/en/creatin ... users.html article because it demonstrates this exactly. ;-)
Best regards,
Igor Siticov.
moelski
Posts: 21
Joined: Thu Jan 19, 2006 2:28 pm
Location: Germany
Contact:

Post by moelski »

Hi isiticov!

Thx for the help! I got it working :)
Greetz Moelski
Post Reply