>Thanks for the code. I was able to do what you suggested and it works. >However, the real question I'm asking is: "How do you know if the checkbox >is inactive?" In other words, where do you get the value for >"theCheckboxIsGray"? I'm not familiar with PG, but if you know or can determine the button number, shouldn't the BUTTON function work? (IF BUTTON(id%)=_grayBtn THEN ... ) >tedd -- Brian Victor