|
|
|
Re: May I make checkbox of table read_only? [message #459302 is a reply to message #459247] |
Fri, 05 August 2005 03:38  |
Eclipse User |
|
|
|
James Gan wrote:
> Thank you for the answer. Maybe I should disable the entitle table :)
>
> Roland Tepp wrote:
>
>> Not as such afaict...
>>
>> You can however make it visually "disabled" by gray'ing it out and
>> resetting it's value in a listener whenever somebody tries to change
>> it's checked state.
>>
>> James Gan kirjutas mulle ühel talvisel päeval midagi seesugust:
>>
>>> Hi,
>>>
>>> I'm using the standard table of swt with SWT.CHECK style. But
>>> sometimes I hope it's read_only to user.
>>>
>>> Is there an API for this purpose?
>>>
>>> Thanks a lot!
>>>
>>> James Gan
>>
>>
>>
You could also use an image of a checked checkbox to display in the
column. That way no one is able to uncheck it.
HTH
Stefan
|
|
|
Powered by
FUDForum. Page generated in 0.05401 seconds