D
DevilMe
I've got an array of buttons on a form. When one is clicked it sends the
button picture to a picture control and the button's name property is sent to
the picture's tag property plus it disables the the button so it can't be
used a second time. I need to enable this button again though another button
but the tag must be a string.
I've tried this & other thing but...:
Dim Ctrl As Control
Ctrl = picCardN(#).Tag
Ctrl.Enabled = True
When I use a String variable and a message box I see what I want and it's
correct but I get errors all the time when trying to enable the button.
ie. string returns cmdC(#)
button picture to a picture control and the button's name property is sent to
the picture's tag property plus it disables the the button so it can't be
used a second time. I need to enable this button again though another button
but the tag must be a string.
I've tried this & other thing but...:
Dim Ctrl As Control
Ctrl = picCardN(#).Tag
Ctrl.Enabled = True
When I use a String variable and a message box I see what I want and it's
correct but I get errors all the time when trying to enable the button.
ie. string returns cmdC(#)