Hi,
I would like to create a function but it doesn´t work.
To explain what I need, In short terms I would like to close a screen "tarar" when the value of tho tags "contador_cazoletas & num_cazoletas" will be the same.
I have void tarar_value on because this tag will be on during the process.
void tarar_ValueOn(System.Object sender, System.EventArgs e)
{
if (Globals.Tags.contador_cazoletas.Value==Globals.Tags.num_cazoletas.Value)
{
Globals.tarar.Close();
}
}
It doesn´t work and I don´t know why.
Any help will be appreciate.
Regards
Antonio
Problems with function
Re: Problems with function
Hello,
We understand that this is a very old post. As for closing a screen, iX tends to work better by just opening a new screen instead of closing one. This can be done with the following script:
Globals.Screen2.Show;
If there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690. Thank you.
We understand that this is a very old post. As for closing a screen, iX tends to work better by just opening a new screen instead of closing one. This can be done with the following script:
Globals.Screen2.Show;
If there is anyone who is still experiencing this or similar issues and require assistance, please visit us at https://www.beijerelectronics.us/en-US/ ... ___support or give us call at 801.708.6690. Thank you.
Best regards,
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Jason
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Re: Problems with function
From Deannad
Jason,
Won't this cause memory leaks? We have an app that has some "wizard-ish" sequences and we are seeing it become sluggish over time. Guessing that is the result of not closing the prior screens, but we are unable to make the code work when we try to close the prior screen when advancing.
Any other ideas for closing screens?
Best regards,
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us
Russ
(801) 708-6690
Technical Support
Contact Us
Beijer Electronics AB
http://www.beijerelectronics.us