Is it possible to get the vertical/horizontal scroll bar visible when the SWT List is in disabled state?
问题 I have a list in a composite and is defined in the following way : List list = new List(composite, SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER); when the list is in disabled state (list.setEnabled(false);), and the values inside the list are more than the height of the list, is there any way to make the vertical scroll bar enabled? 回答1: The scroll bars are handled by the OS. Consequently, the OS will decide when to show/hide the scroll bars and when to let the user use them. You can't influence