Sign in to follow this  
Followers 0

Variable on a button name on NA5 Series Visual.Net

1 post in this topic

Hello, this is a noob question on how to code properly.

Im trying to do something like this on a code editor inside HMI (NA5) Page:

For i = 1 to 100
Me.Button_"i"_Line_ON.Enabled = True
Next i

The code is more complex than this, thats why I cannot use the Animation tab feature on the interface to set Enable

The number of buttons are 100, so I dont want to go 1 by 1. My poor knowlegde on Visual.Net and searching engines does not allow me to find a solution for this in a short lapse of time.

Anyway to do this? Thx in advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0