Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Problems with function
PostPosted: Thu Mar 17, 2016 4:43 am 

Joined: Fri Feb 26, 2016 9:42 am
Posts: 8

Offline
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


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron