Issue with dynamic button labels on IX 2.40 SP1
Posted: Fri Feb 15, 2019 11:39 am
Hello dear Sirs.
Recently I changed from IX 2.20 to the new IX 2.40 SP1 because I'm now programming the X2 Base 10'' HMI.
I used to load buttons labels on screens using the following code:
void scrnHelp_Opened(System.Object sender, System.EventArgs e)
{
this.btIn0.Text="WAY1";
this.btIn1.Text="WAY2";
this.btIn2.Text="WAY3";
this.btIn3.Text="WAY4";
this.btIn4.Text="WAY5";
}
On IX 2.20 the screen opens with the buttons labels updated. On IX 2.40 SP1 the screen opens with the buttons with the labels defined on the "object properties". The code inside scrnHelp_Opened is executed but the screen is not updated.
Is there a reason/solutions for this?
Thanks
Recently I changed from IX 2.20 to the new IX 2.40 SP1 because I'm now programming the X2 Base 10'' HMI.
I used to load buttons labels on screens using the following code:
void scrnHelp_Opened(System.Object sender, System.EventArgs e)
{
this.btIn0.Text="WAY1";
this.btIn1.Text="WAY2";
this.btIn2.Text="WAY3";
this.btIn3.Text="WAY4";
this.btIn4.Text="WAY5";
}
On IX 2.20 the screen opens with the buttons labels updated. On IX 2.40 SP1 the screen opens with the buttons with the labels defined on the "object properties". The code inside scrnHelp_Opened is executed but the screen is not updated.
Is there a reason/solutions for this?
Thanks