I have 2 questions about the scripting feature of ix dev.
I have 4 languages in my project. I need to recognize the selected language, based on that some information on the screen is changing. How to get the status of current languages?
The screen does not change on a single click?
when I click the button the first time, only the tags value is changing. i have to click again to change the font color?
Code: Select all
private void highlight_selected ()
{
// change button font color
but_pump1.FontColor = new BrushCF(Color.Black);
but_pump2.FontColor = new BrushCF(Color.Black);
but_auto.FontColor = new BrushCF(Color.Red);
this.Refresh();
}
void butt_Click(System.Object sender, System.EventArgs e)
{
Globals.Tags.TEST_TAG.Value = 2;
highlight_selected();
}