Return location of last disabled button.

Return location of last disabled button.

Hi again, I know how to find the first disabled radio button but how do I find the last disabled button?


In this case I have a row of buttons but two are disabled, therefore how would I search and return the index of the last disabled button?

Thanks.