Recent

Author Topic: VirtualStringTree not movable during design time  (Read 6628 times)

Groffy

  • Full Member
  • ***
  • Posts: 208
VirtualStringTree not movable during design time
« on: May 08, 2015, 08:29:09 am »
Linux Mint 17.1 KDE - 64bit / Lazarus 1.4 - 64bit / VirtualStringTree source from

https://svn.code.sf.net/p/lazarus-ccr/svn/components/virtualtreeview-new/branches/4.8

After placing a VirtualStringTree /VirtualDrawTree component on the form, its resizable but not movable on the form.

This issue seems only with the gtk2 widgetset, when recompile Lazarus against qt the component behaviour is as expected.


Regards - Ulrich
« Last Edit: May 08, 2015, 08:47:48 am by Groffy »
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 458
Re: VirtualStringTree not movable during design time
« Reply #1 on: May 08, 2015, 11:49:11 pm »
Fixed in VTV svn

Groffy

  • Full Member
  • ***
  • Posts: 208
Re: VirtualStringTree not movable during design time
« Reply #2 on: May 09, 2015, 07:58:16 am »
Trunk is currently not compiling under Linux

VirtualTrees.pas(34463,23) Error: Identifier not found "LOCALE_USER_DEFAULT"
VirtualTrees.pas(34463,44) Error: Identifier not found "LOCALE_IMEASURE"

I'm compiling against qt widgets, so I'm fine with branch 4.8

Ulrich
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

JD

  • Hero Member
  • *****
  • Posts: 1758
Re: VirtualStringTree not movable during design time
« Reply #3 on: May 09, 2015, 10:07:23 am »
Fixed in VTV svn

Hi there Luiz, Thanks for your good work. Is the latest trunk version close to VTV 5.x for Delphi or is it fixes to the 4.8 series?

JD
Windows (10, 7) - Lazarus 2.0RC3/FPC 3.2, NewPascal, Delphi

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

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 458
Re: VirtualStringTree not movable during design time
« Reply #4 on: May 09, 2015, 11:49:15 am »
Trunk = 5.x
Fixed compilation in Linux yesterday

@Ulrich
Are you using 64bit?

I tested with gtk2 32bit and works

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 458
Re: VirtualStringTree not movable during design time
« Reply #5 on: May 09, 2015, 11:50:04 am »
@Ulrich
I fixed in 4.8 branch

Groffy

  • Full Member
  • ***
  • Posts: 208
Re: VirtualStringTree not movable during design time
« Reply #6 on: May 09, 2015, 02:54:11 pm »
Hello Luiz,

yes, I have set another computer with Linux Mint 17.1 KDE - 64bit / Lazarus 1.4 64bit - qt

Thank you for careing for one of my favorite controls!

Regards Ulrich
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

JD

  • Hero Member
  • *****
  • Posts: 1758
Re: VirtualStringTree not movable during design time
« Reply #7 on: May 09, 2015, 09:52:09 pm »
Fixed in VTV svn

That's great Luiz. I've been waiting for that for a while. Can you please give me a link to the svn.

Thanks,

JD
Windows (10, 7) - Lazarus 2.0RC3/FPC 3.2, NewPascal, Delphi

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

Groffy

  • Full Member
  • ***
  • Posts: 208
Re: VirtualStringTree not movable during design time
« Reply #8 on: May 10, 2015, 07:38:35 am »
@Luiz,

@Ulrich
Are you using 64bit?

I tested with gtk2 32bit and works

sorry, my last post wasn't clear. Its working now under 64bit against gtk2 widgetset!

Thank you!
« Last Edit: May 10, 2015, 07:40:32 am by Groffy »
Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt

krzynio

  • Jr. Member
  • **
  • Posts: 73
Re: VirtualStringTree not movable during design time
« Reply #9 on: June 12, 2015, 08:44:02 am »
Hi!
Did you solve the below problem under linux (Debian testing + Lazarus trunk + FPC 2.6.4)?

VirtualTrees.pas(34463,23) Error: Identifier not found "LOCALE_USER_DEFAULT"
VirtualTrees.pas(34463,44) Error: Identifier not found "LOCALE_IMEASURE"
Lazarus version: trunk. FPC version: 3.0.4. OS: Linux Debian Testing x64 with XFCE 4.12 and Windows 10 x64 version: 1709

Groffy

  • Full Member
  • ***
  • Posts: 208
Re: VirtualStringTree not movable during design time
« Reply #10 on: June 12, 2015, 09:07:30 am »
VirtualTrees.pas(34463,23) Error: Identifier not found "LOCALE_USER_DEFAULT"
VirtualTrees.pas(34463,44) Error: Identifier not found "LOCALE_IMEASURE"

Hello,

not really, these both constant values are inside a conditional compile switch. It defines a paper format, I guess when printing  the tree. I don't use that anyway.

 {$ifndef INCOMPLETE_WINAPI}
..

So I just set a

 {$define INCOMPLETE_WINAPI}

at the beginning of the unit. Works for me :-)


Regards - Ulrich


Linux Mint 18.3 - KDE / Windows8 / Lazarus 2.0.0 / trunk -qt