gRadioButton.gText Property

Top  Previous  Next

PROPERTY                                               DATA TYPE                    

gText

gMultiLanguageText

 

Multi language text associated with the control.

 

For details of Multi Languge Text feature, Look here.

 

Property editor

 multi lang text editor

Languages are defined in a configuration file, not a constant list.

 

C# code example

 //Note that normally you do not write code for this property. You just set through property editor in design time.

gLanguageNameAndText languageandtext1 = new gLanguageNameAndText();

languageandtext1.LanguageName = "French";

languageandtext1.Text = "Eteignez la machine";

 

gLanguageNameAndText languageandtext2 = new gLanguageNameAndText();

languageandtext2.LanguageName = "Spanish";

languageandtext2.Text = "Apague la maquina";

 

gLanguageNameAndText languageandtexts = New gLanguageNameAndText[]{ languageandtext1, languageandtext2 };

gRadioButton.gText.gLanguagesNamesAndTexts = languageandtexts;