Recent

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

Groffy

  • Full Member
  • ***
  • Posts: 204
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 / Windows 10 / Lazarus 3.0.0 / trunk -qt

LuizAmérico

  • Sr. Member
  • ****
  • Posts: 457
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: 204
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 / Windows 10 / Lazarus 3.0.0 / trunk -qt

JD

  • Hero Member
  • *****
  • Posts: 1848
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 - 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: 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: 457
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: 204
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 / Windows 10 / Lazarus 3.0.0 / trunk -qt

JD

  • Hero Member
  • *****
  • Posts: 1848
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 - 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

Groffy

  • Full Member
  • ***
  • Posts: 204
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 / Windows 10 / Lazarus 3.0.0 / trunk -qt

krzynio

  • Jr. Member
  • **
  • Posts: 99
    • Krzynio's home page
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"
Ubuntu 23.10 x64, / Windows 11 PL - latest updates
Lazarus 2.2.6, FPC 3.2.2

Groffy

  • Full Member
  • ***
  • Posts: 204
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 / Windows 10 / Lazarus 3.0.0 / trunk -qt

 

TinyPortal © 2005-2018