[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Combo read-only Question
|
- From: Alan Williamson <alan@xxxxxxxxxxxxx>
- Date: Tue, 17 Oct 2006 15:49:27 +0100
- Newsgroups: eclipse.platform.swt
- Organization: www.blog-city.com
- User-agent: Thunderbird 1.5 (Windows/20051206)
Afternoon one and all.
I am trying to have a drop-down list that the user CANNOT edit by typing
in the area; i merely want them to select from the list.
The documentation seems to suggest i can do this:
"Instances of this class are controls that allow the user to choose an
item from a list of items, or optionally enter a new value by typing it
into an editable text field."
However, no matter how i create the control, i can still type in the box
and edit it.
cCombo = new CCombo(group, SWT.BORDER | SWT.SIMPLE | SWT.READ_ONLY );
What would the hardcore SWT'ers suggest here?
thanks
alan
--
Alan Williamson, CTO Blog-City Ltd
http://alan.blog-city.com/