• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need a Frame Refresh, when invoking a tree event

 
bob morkos
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an error with my code. What I'm trying to do is when a click on the tree view, the label (lblTree) should change accordingly. Could anyone help and the problem is commented down below.
my code:
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bob,
Your problem is that you are creating a new treeDragDrop just to call a method in the class. Make the following changes to your listener valueChanged method:

Then it should work like a charm.
Regards,
Manfred.
 
bob morkos
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. It works fine now. But, now I want to add drag and drop from the tree view to a list box. Do you have any idea on how to implement this functionality. Any help would be really appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic