* * *

Author Topic: VirtualTreeView: new home, new release  (Read 6549 times)

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 456
VirtualTreeView: new home, new release
« on: June 02, 2016, 05:54:06 pm »
The LCL port of VirtualTreeView component has a new home: https://github.com/blikblum/VirtualTreeView-Lazarus

It's now a direct fork of Delphi repository making easier to keep in sync

Two versions are released
- 4.8.7
- 5.5.3

Major changes:
- Uses native resources instead of Lazarus resources: smaller binary
- Fix reported bugs: remaining bugs also affects original code or is a side effect of bugs in other parts of LCL

Remarks:
- The users of 4.x must be warned that 5.x has breaking changes. Search for VTMajorVersion directives at the 5.x version of the demos to some of the incompatibilities
- Tested in windows with fpc 2.6.4, fpc 3.0 and fpc trunk
- Under linux the test was fairly basic. Only gtk2 with fpc 2.6.4, compiled and run advanced demo

Downloads at https://github.com/blikblum/VirtualTreeView-Lazarus/releases

Bugs should be reported in github although i will still monitor mantis

Thaddy

  • Hero Member
  • *****
  • Posts: 6013
Re: VirtualTreeView: new home, new release
« Reply #1 on: June 02, 2016, 06:11:53 pm »
Very good news! Tnx!
I might not give the answer that you want me to.. Peter Green 1969

wp

  • Hero Member
  • *****
  • Posts: 4509
Re: VirtualTreeView: new home, new release
« Reply #2 on: June 02, 2016, 06:50:27 pm »
If course you can store your code wherever you want. But I fear the situation will be very confusing to users. We already had the dead "virtualtreeview" folder in ccr next to your "virtualtreeview-new", and now there will be another one on your git site. "virtualtreeview-new" will be dead as well I fear...

Please upload a note to your ccr repository linking to the new site. And I think also that there are several wiki articles covering VTV, they should be updated as well.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

JD

  • Hero Member
  • *****
  • Posts: 1703
Re: VirtualTreeView: new home, new release
« Reply #3 on: June 02, 2016, 09:02:40 pm »
@Luiz Americo Great work! Thanks a lot for keeping VTV alive.

JD
Windows (10, 7) - Lazarus 1.8/FPC 3.0.4, NewPascal, Delphi
Linux Mint Cinnamon  - Lazarus 1.8/FPC 3.0.4, NewPascal

Indy 10.6 series; mORMot; Zeos 7.2.1; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

zeljko

  • Hero Member
  • *****
  • Posts: 970
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: VirtualTreeView: new home, new release
« Reply #4 on: June 02, 2016, 09:52:11 pm »
Anyone converted some project with VTV 4.XX to this one ? Any problems with it ?

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 456
Re: VirtualTreeView: new home, new release
« Reply #5 on: June 03, 2016, 12:03:47 am »
Quote
But I fear the situation will be very confusing to users. We already had the dead "virtualtreeview" folder in ccr next to your "virtualtreeview-new", and now there will be another one on your git site. "virtualtreeview-new" will be dead as well I fear...

I'll add a note at old repository code so anyone using will notice

The code will be kept there to maintain the development history

About the "virtualtreeview" folder at Lazarus-ccr, i'm not maintainer. The maintainer should decide if delete or not.

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 456
Re: VirtualTreeView: new home, new release
« Reply #6 on: June 03, 2016, 12:08:14 am »
Quote
Anyone converted some project with VTV 4.XX to this one ? Any problems with it ?

I also updated also the 4.8 version. If you don't need the new features i recommend keep it.

For myself, i still use 4.8 so, as far as i can tell is well tested

OTOH, the example projects just compiled and worked fine with 5.5 version.

The problems were related to change in HeaderClick and DoGetChildren signatures. In the 5.5 demos i added the necessary defines so you can see what needs to change to upgrade


wp

  • Hero Member
  • *****
  • Posts: 4509
Re: VirtualTreeView: new home, new release
« Reply #7 on: June 03, 2016, 12:28:25 am »
I'll add a note at old repository code so anyone using will notice
Thanks.
Lazarus trunk / fpc 3.0.4 / all 32-bit on Win-10

GetMem

  • Hero Member
  • *****
  • Posts: 3022
Re: VirtualTreeView: new home, new release
« Reply #8 on: June 03, 2016, 06:22:20 am »
Quote
@LuizAmérico
For myself, i still use 4.8 so, as far as i can tell is well tested
AFAIK the 4.8.7 is the only version which works under every major widgetset: win32/64, osx, qt, gtk2.

zeljko

  • Hero Member
  • *****
  • Posts: 970
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: VirtualTreeView: new home, new release
« Reply #9 on: June 03, 2016, 08:34:12 am »
Thanks Luiz an GetMem....I'll stay with 4x which indeed works ok on all major platforms

RAW

  • Hero Member
  • *****
  • Posts: 662
Re: VirtualTreeView: new home, new release
« Reply #10 on: June 05, 2016, 05:12:56 pm »
Is this possible:
I need only 2 different sized images per node (row) and a background image.. everything else should be visually disabled like a "bsNone-Form" for example.

The first image should work like a ON/OFF-Button (small image)
The second image must be created at runtime and has always the same height, but the width depends on what the user needs...

I thought a VirtualTreeView will be better and faster than me using a dynamic array.. ( array of array[0..1] of TImage ).


I just downloaded version 4.8.7 and 5.5.3, but I've never used this component ...
Would be damn nice if anybody could give me a hint...  :)
Windows 7 Pro (x64 Sp1) And Windows XP Pro (x86 Sp3) - LAZARUS 1.8.2 FPC 3.0.4 // 1.7 FPC 3.1.1

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 456
Re: VirtualTreeView: new home, new release
« Reply #11 on: June 05, 2016, 06:09:38 pm »
Quote
I just downloaded version 4.8.7 and 5.5.3, but I've never used this component ...

I'm sure VirtualTreeView can handle that.

But this component has a steep learning curve.

Your best bet is reading the docs https://github.com/Virtual-TreeView/Virtual-TreeView/tree/master/Help although a bit outdated and looking at the demos


RAW

  • Hero Member
  • *****
  • Posts: 662
Re: VirtualTreeView: new home, new release
« Reply #12 on: June 05, 2016, 07:07:28 pm »
Quote
I'm sure VirtualTreeView can handle that.
Sounds very good, then I'll try it...

Quote
But this component has a steep learning curve.
No problem at all... I'll take my time...
Thanks for the link and the tip...

This shouldn't be a question for showing me some code, I just wanted to know if this is possible.
Of course I can find out for myself how it's working...

Thanks again...
Windows 7 Pro (x64 Sp1) And Windows XP Pro (x86 Sp3) - LAZARUS 1.8.2 FPC 3.0.4 // 1.7 FPC 3.1.1

MISV

  • Sr. Member
  • ****
  • Posts: 280
Re: VirtualTreeView: new home, new release
« Reply #13 on: February 04, 2018, 12:23:10 am »
For what it is worth:

Virtual Treeview 4.8.7.4 uding Lazarus 1.9 trunk with Cocoa trunk gives "Cannot find FakeActiveX used by VirtualTrees" when compiling a program of mine using VirtualTreeView.

Note: The version 5.x series for Lazarus does not seem to suffer from this problem.

But just a heads up for Mac users.
« Last Edit: February 04, 2018, 02:08:51 am by MISV »

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus