Re: Readonly checkbox

2007-11-16 Thread Nick Heudecker
For textareas and textfields I always do "onfocus='this.blur();'". It might work for checkboxes as well. On Nov 16, 2007 11:06 AM, mclev <[EMAIL PROTECTED]> wrote: > > I have a case where I'm using a checkbox to show boolean data in a table. > However I want the data to be readonly. > > Is there

Re: Readonly checkbox

2007-11-16 Thread Gabor Szokoli
On Nov 16, 2007 6:06 PM, mclev <[EMAIL PROTECTED]> wrote: > > I have a case where I'm using a checkbox to show boolean data in a table. > However I want the data to be readonly. Try setEnabled(false), works on any Component. Szocske --

Re: Readonly checkbox

2007-11-16 Thread mclev
Nick Heudecker wrote: > > > For textareas and textfields I always do "onfocus='this.blur();'". It > might > work for checkboxes as well. > > Nick, tried this, didn't work. Also tried the readonly property and it didn't work. Thought about using the setEditable=false, but it doesn't look ri

Re: Readonly checkbox

2007-11-17 Thread Martijn Dashorst
not 100% sure, but you could try: On Nov 17, 2007 2:28 AM, mclev <[EMAIL PROTECTED]> wrote: > > > > Nick Heudecker wrote: > > > > > > For textareas and textfields I always do "onfocus='this.blur();'". It > > might > > work for checkboxes as well. > > > > > > Nick, tried this, didn't work. Also