Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[SWT] flexibility of an expandbar (remove expanditems?)  RSS feed

 
Jonathan Smiths
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am trying to create an application with multiple chats for some kind of support system.
Therefore I use a tabfolder with two tabitems, one with answered threads, one with new threads.
On each of the tabitems I have an expandbar with multiple expanditems (with chatboxes on them)
My problem lies in moving a thread to the 'read' tab. I have to move the expandItem, or remove and recreate it. However, there are no functions for removing, hiding or moving expanditems, expandbars or tabitems.
I searched for information on the expandbar of swt, but I could hardly find any forum threads about this widget. Am I trying to do something that's not possible? How could I try to solve this problem?
 
Jonathan Smiths
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
bump, anyone experience with the expandbar?
 
Kees Pieters
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To complete this post: you have to use item.dispose. so the expandItem disposes itself
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!