Archive: nsDialogs / disable control, how to ?


nsDialogs / disable control, how to ?
Hey,

I am converting my IO pages to nsDialogs. My question is - how to show a radio button (for example) and disable it ?

I have some controls that should be enabled only if the user selects some specific sections.

So, how do I disable it ?
Could not find it in manual. I checked a few times, hope I did not missed it.

Thanks,
OJi.


Use the built-in EnableWindow.


Thanks, I'll try it