Skip to main content



      Home
Home » Archived » Visual Editor (VE) » CTabItems doesn't directly appear
CTabItems doesn't directly appear [message #612623] Thu, 13 April 2006 09:08
Eclipse UserFriend
Originally posted by: walidito.yahoo.fr

Hello,
I have developped a menu that displays cTabItems corresponding to the
selected option.

The problem is, when choosing an option of the menu for the first time,
the user have to click on the "top" of the tabItem (the text) to make the
content of the Item appear (in my case, a Composite with many elements).

Actually, I would like that the "content" (my composite groupBoxAddUsers)
displays directly. I know it is possible, but don't know how.

Please, help !

Here is a part of my code :

...
cTabFolderU = new CTabFolder(compoUsers,SWT.BORDER);
cTabFolderU.setBounds(new
org.eclipse.swt.graphics.Rectangle(27,120,480,320));
cTabFolderU.setBorderVisible(false);
cTabFolderU.setSimple(false);
***
groupBoxAddUsers = new GroupBoxAddUsers(cTabFolderU, SWT.NONE);
CTabItem cTabItem = new CTabItem(cTabFolderU, SWT.CLOSE);
cTabItem.setControl(groupBoxAddUsers);
cTabItem.setText("Add" );
Previous Topic:code generation in VE
Next Topic:Getting VE to show up
Goto Forum:
  


Current Time: Thu Jun 12 21:55:48 EDT 2025

Powered by FUDForum. Page generated in 0.07369 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top