Recent

Author Topic: VirtualTreeView 4.8.7 released  (Read 42030 times)

freeman35

  • Jr. Member
  • **
  • Posts: 92
Re: VirtualTreeView 4.8.7 released
« Reply #45 on: October 13, 2015, 10:51:28 am »
@LuizAmérico
I'm using "/lazarus-ccr/svn/components/virtualtreeview-new/trunk" I think this is last version, isn't it? I need master-detail grid view, will VTV for lazarus support it?
I'm using VTV in my project and very pleased it, thank you very much

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: VirtualTreeView 4.8.7 released
« Reply #46 on: October 13, 2015, 01:23:27 pm »
Personally I find lazarus VT 4.8.7 fully compatible with the version I used in Delphi, so I would rather have bugs fixed in Lazarus/VT4.8.7/Carbon (it is my understanding the Carbon issue also causes problems in other controls in Carbon and since Cocoa is not ready then...)

Anyhow, maintaining compatiblity with properties (even if not fully implemented) should probably also have some priority, so it is as easy as possible moving a project from Delphi to Lazarus. (Since I have ported this part is no longer relevant for me, but I mention this to increase Delphi to Lazarus adaption / cross-compiler userbase)

Best would of course be if JAM would maintain Lazarus compatiblity, but if they have removed code then...
« Last Edit: October 16, 2015, 05:12:24 pm by MISV »

freeman35

  • Jr. Member
  • **
  • Posts: 92
Re: VirtualTreeView 4.8.7 released
« Reply #47 on: October 18, 2015, 12:27:59 pm »
in my opinion, JAM not think support lazarus or old version delphi. Theme product use VTV, and been owner VTV. Why support all delphi version and lazarus or others? This mean huge source code, big application size, and increase problem count. etc. ( I hope I'm wrong )

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: VirtualTreeView 4.8.7 released
« Reply #48 on: October 21, 2015, 03:39:37 am »
Would there be any interest in a small bounty for solving this Carbon issue affecting virtual treeview? (feel free to PM me as well) 

I think this Carbon issue affects more controls than just VTV (e.g. stringgrid?) and it is the only big issue I have found sofar in Carbon support (I will probably encounter more, but my impression is that everything otherwise very well supported)


LuizAmérico

  • Sr. Member
  • ****
  • Posts: 458
Re: VirtualTreeView 4.8.7 released
« Reply #49 on: October 21, 2015, 04:28:43 am »
No need to bounty by my side.
The only problem for me is the lack of a mac to test.
Thursday i will try to translate the Gtk2 behavior to Carbon blindly. Let's see what we'll get.

manhu

  • New Member
  • *
  • Posts: 27
Re: VirtualTreeView 4.8.7 released
« Reply #50 on: October 21, 2015, 09:33:51 am »
Did just read your post:
Quote
The only problem for me is the lack of a mac to test.
Found this solution:
http://kecodoc.com/install-mac-os-x-yosemite-in-vmware-inside-window-pc/
Hope it is ok to post this link.. :-[

Shalom
Manfred

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 458
Re: VirtualTreeView 4.8.7 released
« Reply #51 on: October 22, 2015, 06:24:35 pm »
Try to add the following code in TCarbonDeviceContext.StretchDraw carboncanvas.pp:1475

  if Image = nil then Exit;

  //add this two lines
  XSrc := XSrc - SrcDC.WindowOfs.X;
  YSrc := YSrc - SrcDC.WindowOfs.Y;

  DstRect := CGRectMake(X, Y, Abs(Width), Abs(Height));

See what happens. Post a screen shot of the test app

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: VirtualTreeView 4.8.7 released
« Reply #52 on: October 23, 2015, 12:17:55 pm »
Will report back later today today :)
« Last Edit: October 24, 2015, 11:02:51 am by MISV »

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: VirtualTreeView 4.8.7 released
« Reply #53 on: October 26, 2015, 07:22:34 pm »
The fix works for me! (sorry for the delay)

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 458
Re: VirtualTreeView 4.8.7 released
« Reply #54 on: October 27, 2015, 04:34:57 am »
Can you post a screenshot of the test app in http://bugs.freepascal.org/view.php?id=28689 together with a comment that works?

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: VirtualTreeView 4.8.7 released
« Reply #55 on: October 28, 2015, 03:19:18 am »
Hereby done :)

MISV

  • Hero Member
  • *****
  • Posts: 704
Re: VirtualTreeView 4.8.7 released
« Reply #56 on: March 30, 2016, 07:42:23 pm »
This fix was not included in 1.4.4 and still listed as open (child issues) in bugtracker - do you know if that means it has not yet been included in new Lazarus versions?

 

TinyPortal © 2005-2018