• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT (setControl() ) question .

 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, can someone tell me why i always get: "Widget has the wrong parent"

when i try this?

(thanks)

 
bart zagers
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess it is because the specialItem and the bar1 do not have the same parent (folder and shell).
 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it was indeed.

thank you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!