Recent

Author Topic: VirtualTreeView 4.8.6 released  (Read 75262 times)

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
VirtualTreeView 4.8.6 released
« on: February 11, 2010, 01:02:18 pm »
I'm glad to announce the release of the VirtualTreeView port i started three years ago.

This port is synchronized with the 4.8 branch of the main VirtualTreeView repository at Google Code

It implements most of the features found in Delphi version including Alpha Blending and OLE Drag and Drop / Clipboard (the later obviously is Windows only).

Remarks:
  • It uses UTF-8 as the string encoding unlike Delphi that uses UTF-16
  • Some workarounds to Delphi streaming bugs were removed so the streams created with Delphi will not work


Due to the above while converting Delphi projects is necessary:
  • Replace WideString by String
  • In the *.lfm file append Header. to Columns declaration (Columns* -> Header.Columns*)


Know issues:
  • Currently it'll not work on 64bit
  • Not tested with Carbon/MacOSX, WinCE

It depends of LCLExtensions package.

Download the package at Lazarus-CCR (VirtualTreeView (NewPort)).
« Last Edit: February 27, 2010, 05:08:10 pm by LuizAmérico »

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: VirtualTreeView 4.8.6 released
« Reply #1 on: February 11, 2010, 02:03:01 pm »
I'm glad to announce the release of the VirtualTreeView port

Thank you! Excellent job.

sasa

  • Guest
Re: VirtualTreeView 4.8.6 released
« Reply #2 on: February 11, 2010, 06:13:21 pm »
Excellent work indeed!

This is the most usefull third-party component I ever used in Delphi, thanks to Mike Lischke.  Now, thanks to Luiz, this component get fully usefull port in Lazarus.

There is still some small drawing issues to polish on some widgetsets, but they are quite minor comparing with full functionality the port brings.

Suggested to become a part of Lazarus.

Congratulation again.

« Last Edit: February 11, 2010, 06:16:56 pm by sasa »

Silvio Clécio

  • Guest
Re: VirtualTreeView 4.8.6 released
« Reply #3 on: February 11, 2010, 09:31:13 pm »
Congratulations Luiz! ;)

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: VirtualTreeView 4.8.6 released
« Reply #4 on: February 12, 2010, 01:33:50 am »
Great work Luiz. I've downloaded the new version & I'm trying it out.

However, I noticed that the components in VTExtras - VirtualDBGrid, VTUtils & LuiConfigTree no longer compile. I tried searching for updates to these components at http://code.google.com/p/luipack/ but I did not find any.

Where can I find the updated components?
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

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: VirtualTreeView 4.8.6 released
« Reply #5 on: February 12, 2010, 10:43:59 am »
Quote
However, I noticed that the components in VTExtras - VirtualDBGrid, VTUtils & LuiConfigTree no longer compile

If you are using trunk it will not compile. Use 4.8 branch or the released package. I'm using them in my projects. Be aware that are not released and that can be changes in the interface.

Quote
I tried searching for updates to these components at http://code.google.com/p/luipack/ but I did not find any.

Those are the updated.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: VirtualTreeView 4.8.6 released
« Reply #6 on: February 13, 2010, 12:15:42 am »
Thanks Luiz. I found them. But I think I'll wait for the official release since it looks like the files change very often.

Once again thanks for your work on the VirtualGrid component.
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

den123123

  • Newbie
  • Posts: 1
Re: VirtualTreeView 4.8.6 released
« Reply #7 on: February 14, 2010, 08:31:40 pm »
Sorry, but I cannot compile it on Linux x86_64.
I can post the error messages if you want.

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: VirtualTreeView 4.8.6 released
« Reply #8 on: February 16, 2010, 11:39:59 pm »
Quote
Sorry, but I cannot compile it on Linux x86_64.

It's a know issue. There's a patch (against trunk) in the bugtracker that you can try: http://bugs.freepascal.org/view.php?id=15585

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: VirtualTreeView 4.8.6 released
« Reply #9 on: February 26, 2010, 11:34:49 pm »
Brilliant port. Thank you for hours and hours of careful work, and thousands of lines of example code!
I found one demo that quickly crashed if data was changed.
In the luiconfigtree_demo the IniProvider.Filename property needs to be changed from $(EXE_PATH)/test.ini to $(EXE_DIR)/test.ini, which will fix it.
Thanks again,
Howard

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: VirtualTreeView 4.8.6 released
« Reply #10 on: February 27, 2010, 03:26:56 am »
Quote
In the luiconfigtree_demo the IniProvider.Filename property needs to be changed from $(EXE_PATH)/test.ini to $(EXE_DIR)/test.ini, which will fix it.

Thanks for the info. I'll take a look.

Are you using LuiConfig in a project?

LuiConfig is WIP and some things may change in future.

Nicola Gorlandi

  • Full Member
  • ***
  • Posts: 132
Re: VirtualTreeView 4.8.6 released
« Reply #11 on: February 27, 2010, 11:11:20 am »
Great Job Luiz, the component is very nice and useful.

I made some test and i found a problem. If I set CellText with a string in onGetText with something like CellText:='test' i receive as result on video t▫e▫s▫t▫.
I think that the problem is with the WideString management. Could you help me  ? thank's

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
Re: VirtualTreeView 4.8.6 released
« Reply #12 on: February 27, 2010, 11:20:36 am »
Quote
I made some test and i found a problem. If I set CellText with a string in onGetText with something like CellText:='test' i receive as result on video t▫e▫s▫t▫.

Probably you are converting a Delphi project or using an older version.

To fix it just change the WideString parameters (CellText etc) to String.

hop111

  • New Member
  • *
  • Posts: 11
Re: VirtualTreeView 4.8.6 released
« Reply #13 on: February 27, 2010, 11:43:52 am »
Quote
It's a know issue. There's a patch (against trunk) in the bugtracker that you can try: http://bugs.freepascal.org/view.php?id=15585

After patching compiling not work.

if TLMTimer(Message).TimerID = HeaderTimer then...

/usr/lib/lazarus/0.9.28.2/components/VirtualTreeView/VirtualTrees.pas(10069,10) Error: Illegal type conversion: "<record type>" to "<record type>"

Nicola Gorlandi

  • Full Member
  • ***
  • Posts: 132
Re: VirtualTreeView 4.8.6 released
« Reply #14 on: February 27, 2010, 04:29:37 pm »
Another small problem. I tried to compile under Wince and in DelphiCompat.pas unit some inc isn't found ( {$i uses.inc}    and $i delphicompat.inc ).

 

TinyPortal © 2005-2018