spaghetti_code
spaghetti_code

Reputation: 145

Setting focus to maximize button

In SWT can I set focus to the maximize button of a view? More concretely I want to set a tablist for a composite with setTabList() method, but I can't refer to the maximize button.

Upvotes: 1

Views: 43

Answers (1)

greg-449
greg-449

Reputation: 111142

All the controls in a setTabList() call must be direct children of the Composite. Since the maximize button belongs to a ToolBar outside of the view you can't use it in the tab list.

Upvotes: 2

Related Questions