Recent

Author Topic: [SOLVED] Virtual Tree View header  (Read 5247 times)

Pe3s

  • Hero Member
  • *****
  • Posts: 533
[SOLVED] Virtual Tree View header
« on: December 09, 2021, 12:09:03 pm »
Why do I have an inactive caption text?  How can I fix it
« Last Edit: December 09, 2021, 06:08:44 pm by Pe3s »

balazsszekely

  • Guest
Re: Virtual Tree View header
« Reply #1 on: December 09, 2021, 01:26:19 pm »
Hi Pe3s,

Quote
Why do I have an inactive caption text?  How can I fix it
What do you mean by inactive caption text? The header is not responding to mouse events? Can you test the attached project, does the header behave properly?

Pe3s

  • Hero Member
  • *****
  • Posts: 533
Re: Virtual Tree View header
« Reply #2 on: December 09, 2021, 02:52:46 pm »
I can't add text.  the field is inactive

balazsszekely

  • Guest
Re: Virtual Tree View header
« Reply #3 on: December 09, 2021, 03:13:45 pm »
@Pe3s
Quote
I can't add text.  the field is inactive
Unfortunately I cannot reproduce this issue. Which version of VST? Lazrus/FPC?

Pe3s

  • Hero Member
  • *****
  • Posts: 533
Re: Virtual Tree View header
« Reply #4 on: December 09, 2021, 05:23:07 pm »
VST 5, Lazarus 2.0.12, FPC 3.2.0

balazsszekely

  • Guest
Re: Virtual Tree View header
« Reply #5 on: December 09, 2021, 05:31:35 pm »
1. Go to VST->TreeOptions->MiscOptions, check toReportMode
2. Go to VST->Header->Options, check hoVisible
3. Double click the tree, add one or more column, then type something in the "Text" field(see attached image)

Does this work on your side?

Pe3s

  • Hero Member
  • *****
  • Posts: 533
Re: Virtual Tree View header
« Reply #6 on: December 09, 2021, 06:08:25 pm »
Thank you  :)

 

TinyPortal © 2005-2018