[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Combo read-only Question

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/