gButton.gTextOfBitValue0 Property

Top  Previous  Next

PROPERTY                                               DATA TYPE            NOTE

gTextOfBitValue0

gMultiLanguageText

Text of gButton if bit state FALSE

gTextOfBitValue1

gMultiLanguageText

Text of gButton if bit state TRUE

 

These properties define text of gButton in accordance with specified bit state.

gButton should be in Bit mode. (gValueOrBit = Bit)

 

For details of Multi Languge Text feature, Look here.

 

C# code example

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 };

gButton.gTextOfBitValue0.gLanguagesNamesAndTexts = languageandtexts;