Kelly wrote:When I have created a SWT Shell screen and have made a number of changes by adding and deleting widgets the tabbing order is not right. How can I, through the WindowBuilder Pro program, set the tabbing order?
In SWT, the tab order is the same as the creation order of the widgets. This is also the order the widgets are shown in the component tree. To change the tab order, you would need to move the widgets in the tree. Using nested composites will give you some additional control over the tab order.
Kelly wrote:I know I could change the source code but with widgets attached to other widgets for alignment and such it's not easy.
That is true. If you need widget to widget attachments, you won't be able to independently control the tab order as well.
Kelly wrote:Also if you do not create widgets from top/left to bottom/right order you are not always able to attack a widget to another widget in the 'Select Control' window because it will not be listed.
Widgets may only be attached to widgets that precede them in the tab order / creation order. They need to be defined and instantiated before they can be attached to.
In general, if you find yourself needing to set up a lot of complex widget attachments, you might want to consider a different layout manager like the SWT GridLayout.