| |
17. 68. 2. 创建CTabFolder |
|
Create a CTabFolder by passing a parent and a style to the constructor: |
CTabFolder(Composite parent, int style)
|
|
CTabFolder Style Constants |
Style | Description | SWT.TOP | Displays the children tabs along the top edge of this CTabFolder. | SWT.BOTTOM | Displays the children tabs along the bottom edge of this CTabFolder. | SWT.FLAT | If borders are visible, displays the children tabs with a flat look. If SWT.FLAT isn't specified and borders are visible, displays the children tabs with a three-dimensional look. Also, displays any scrolling controls with a flat look. |
|
You can combine SWT.FLAT with either SWT.TOP or SWT.BOTTOM using the bitwise OR operator, |
|