Recent

Author Topic: VirtualTreeView 4.8.7 LCL R2 released  (Read 10222 times)

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
VirtualTreeView 4.8.7 LCL R2 released
« on: October 20, 2012, 04:57:33 pm »
I'm proud to announce the release of a new version of VirtualTreeView for Lazarus. This version is based on the 4.8 branch of the main repository

What's new
  • Compatible with Lazarus 1.0*
  • Support 64bit compilers
  • Improvements in drag and drop support
  • Performance improvements
  • Several bug fixes

* Recommended Lazarus 1.0.2 since it fixes a bug in hint window support (all widgetsets) and in wheel scrolling (gtk2)

Download the package file at Lazarus-CCR

It requires LCLExtensions 0.5

The demos can be found here

FAQ

1) Does it work in MacOSX (Carbon)?

I don't know since i don't have a MacOSX to test. Some users reported that it worked with some bugs. MacOSX users are encouraged to test and report the bugs preferentially with a test project.

2) Any plans to update to version 5?

Yes. As soon as feedback (and possible bugs) from this release comes, the work to sync with the new version will be started.
« Last Edit: October 21, 2012, 01:11:41 am by LuizAmérico »

mdbs99

  • Full Member
  • ***
  • Posts: 121
  • Software Engineer. Husband. Trader.
    • website
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #1 on: October 20, 2012, 05:10:55 pm »
Congratulations!

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #2 on: October 20, 2012, 10:54:45 pm »
Thanks a lot for your good work LuizAmerico. Much appreciated.

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

torstenchr

  • Newbie
  • Posts: 1
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #3 on: October 22, 2012, 11:28:49 am »
Great work!

One comment though:  it does not compile on powerpc-darwin.

Jauber

  • Newbie
  • Posts: 3
    • Uzibim Scripting
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #4 on: October 22, 2012, 01:48:16 pm »
i'm using this component very very very. Thanks for the update!

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #5 on: October 22, 2012, 05:08:19 pm »
Great work!

One comment though:  it does not compile on powerpc-darwin.

Perhaps you could give some more information on what goes wrong, e.g. Inidicating the error messages you see...
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

eny

  • Hero Member
  • *****
  • Posts: 1634
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #6 on: October 22, 2012, 09:35:16 pm »
Quick install and test (of the demo's) with my config: works out of the box  :D
Now to recompile my projects with the latest vtv and lazarus version.
All posts based on: Win10 (Win64); Lazarus 2.0.10 'stable' (x64) unless specified otherwise...

esvignolo

  • Full Member
  • ***
  • Posts: 159
  • Using FPC in Windows, Linux, Macos
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #7 on: January 30, 2014, 10:22:47 pm »
Hi LuizAmerico,

I have a strange problem with VTV, so the thing is, I'm using it in MacOS / Carbon (Luiz understand, you can not prove in Carbon) and fpc 2.6.2 works fine.
But I need to compile with svn 2.7.1 (09/01/2014) compiles fine, but I have a problem when selecting an item in the tree, you can play the demo "dataArray".

Specifically the exception occurs in VirtualTrees.pas

Code: [Select]
function TBaseVirtualTree.InternalAddToSelection(const NewItems: TNodeArray; NewLength: Integer;
  ForceInsert: Boolean): Boolean; 
...

    if FSelectionCount + NewLength >= Length(FSelection) then
     SetLength(FSelection, FSelectionCount + NewLength); //Exception Occurs here, where variables are FSelectionCount =0 and NewLength=1     
...


Luiz any ideas? Phil maybe?

Thanks!

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #8 on: January 31, 2014, 04:58:21 pm »
Try to put a define PACKARRAYPASCAL in the unit

esvignolo

  • Full Member
  • ***
  • Posts: 159
  • Using FPC in Windows, Linux, Macos
Re: VirtualTreeView 4.8.7 LCL R2 released
« Reply #9 on: January 31, 2014, 05:14:36 pm »
Try to put a define PACKARRAYPASCAL in the unit

Thanks Luiz! Work fine :):)

Code: [Select]
const
  {$I lclconstants.inc}

  {$ifdef Darwin}
  {$define PACKARRAYPASCAL} //for fpc 2.7.1
  {$endif}

  {$if defined(LCLGtk) or defined(LCLGtk2)}
    {$define Gtk}
  {$endif}


 

TinyPortal © 2005-2018