in reply to CheckBox grayed or not syntax

What programming language are you using? What GUI framework?