Matrix of Radio Buttons

Hey
I got a little problem. I have a matrix of radio buttons that serve as a selection tool. See, you click one, and then after you click a button and it pulls up a dialog box depending on which one you clicked. I have tried “if selected of button cell “car” of matrix “forms” of window “main” = 1 then …” but it keeps giving me error messages. Can anyone help?
Thanks
~Balthamos

I think this is what you’re looking for…

on clicked theObject
	if name of theObject is "button" then
		set matrixSelection to current row of matrix "forms" of window "main"
		display dialog ("Matrix Button Selected: " & matrixSelection)
	end if
end clicked

Happy trails…
j

thanks! worked the way i wanted it to!
~Balthamos