This is our old Q&A Site. Please post any new questions and answers at

Hi, I created a treeitem without tvbrange specified (because by the time of creation I don't know the beginning of tvbrange. Then I start decoding, moving from the end of packet to start direction (this is a feature of that proprietary protocol), adding sub-items to the treeitem, this time with tvbrange. Finally, when all sub-items are decoded and added to the original treeitem, I know total treeitem size and it's beginning. So now I would like to specify tvbrange to the treeitem to make it highlighted when selected. Is there any way to do it?

In developer-guide I can only see treeitem:setlen(), treeitem:settext(), ... but nothing for set beginning of tvb range.

asked 20 Apr '17, 21:59

maximk's gravatar image

accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 20 Apr '17, 21:59

question was seen: 638 times

last updated: 20 Apr '17, 21:59

p​o​w​e​r​e​d by O​S​Q​A