Notifications
Clear all
[Closed] checkbox state cahnge in a dynamic way
Oct 09, 2005 9:33 pm
Hi Guys!
I have a few checkboxes that I want to change in a dynamic way so I made an array with their names. The problem is that when I am trying to get their name and add the .tristate property it gives me an error!
Here is a small example of the code:
myarray = #("chk01","chk02","chk03")
myarray[1].tristate = 2
I know it’s a pretty basic question but I cannot make it work!!!
Thanks,
2 Replies
Oct 09, 2005 9:33 pm
Use something like this:
myarray = #(chk01, chk02, chk03)
myarray[1].tristate = 2
Light
Oct 09, 2005 9:33 pm
I knew it was something lame like that! I got too caught up in it and couldn’t figure it out!
Thanks for sheding light!