Shouldn't this code disable all the buttons?

quick question

I have never used the all button block before, shouldn’t the following disable all the buttons in the referenced column?

it doesn’t appear to be working for me

image

set disabled to true it is to false

1 Like

yes he is right

Your code doesn’t work because you don’t use blocks correctly. [all buttons in Column] returns a list of buttons that does not have the Disabled property. You need to create a loop through the list of buttons, and set Disabled = true for each element in this list.

foreach Item in [all buttons in Column] {
Item.Disabled = true
}

1 Like

image
I think this code should work

2 Likes

thanks all for the replies