Knowledgebase: Technical
Translation of tab pages created On Demand
Posted by Gian Luca De Bonis, Last modified by Gian Luca De Bonis on 16 May 2012 09:36 PM

Q: How can I translate a tab folder with tab pages created on demand?

A: treat these tabs with TranslateOnDemand APIs:

a) put in Tab’s constructor: n_enable.TranslateOnDemand(THIS)

b) in tab’s selectionchanged event, put: n_enable.tab_selectionchanging(THIS, newindex)

Note that point (b) is usually put in selectionchanging event, when you want to translate on demand a complex tab folder (with pages not created on demand).


An alternate strategy consists in putting n_enable.Translate(THIS) in the constructor event of the tabpage object.

(0 vote(s))
Not helpful

Comments (0)