Recent

Author Topic: custom list control  (Read 1821 times)

alaa123456789

  • Full Member
  • ***
  • Posts: 167
Re: custom list control
« Reply #15 on: February 28, 2021, 07:50:53 pm »
You need to move the error dlg so you can see what it's having issues compiling ?
right  ,something wrong ,need to be fixed
(attachment)

thanks

jamie

  • Hero Member
  • *****
  • Posts: 4342
Re: custom list control
« Reply #16 on: February 28, 2021, 07:55:19 pm »
That looks like some script error..
FCL is a folder of items..

You need to edit the package properties and remove that requirement I would say.

Also that error message is a little twisted, even I don't fully understand it and I normally can read pig Latin !
The only true wisdom is knowing you know nothing

alaa123456789

  • Full Member
  • ***
  • Posts: 167
Re: custom list control
« Reply #17 on: February 28, 2021, 08:08:02 pm »
That looks like some script error..
FCL is a folder of items..

You need to edit the package properties and remove that requirement I would say.

Also that error message is a little twisted, even I don't fully understand it and I normally can read pig Latin !
i downloaded the package from gitgub, added requirements (FCL,LCL base)  no files was there , when i added *.pas ,*.lrs then i got the attached error ,that these units are clashing with ib controls ,please see attached

Soner

  • Full Member
  • ***
  • Posts: 224
Re: custom list control
« Reply #18 on: February 28, 2021, 08:36:28 pm »
ibcontrols-package from Tony Whyman has smiliar to this.
Last month I read here that someone made it usable without ibcontrols package, but I can't remember where is it.
Look in online package manager for ibcontrols.lpk.

https://bugs.freepascal.org/view.php?id=38336
Thanks there was it.




https://bugs.freepascal.org/view.php?id=38336
i think this still not work on opm pls see attached

Then look at QQPanel from CNVCL. It is easy to convert because all code is in one unit and easy coded.


jamie

  • Hero Member
  • *****
  • Posts: 4342
Re: custom list control
« Reply #19 on: February 28, 2021, 09:20:20 pm »
That looks like some script error..
FCL is a folder of items..

You need to edit the package properties and remove that requirement I would say.

Also that error message is a little twisted, even I don't fully understand it and I normally can read pig Latin !
i downloaded the package from gitgub, added requirements (FCL,LCL base)  no files was there , when i added *.pas ,*.lrs then i got the attached error ,that these units are clashing with ib controls ,please see attached

I don't know what to tell you, packages work a little different than verses Delphi..

But by the looks of it I would say that you may already have some older files in there and may need to be removed!
The only true wisdom is knowing you know nothing

GetMem

  • Hero Member
  • *****
  • Posts: 3978
Re: custom list control
« Reply #20 on: February 28, 2021, 09:46:53 pm »
@alaa123456789
I fixed the package in OPM.

Regarding the error message: the two package cannot be used at the same time, because both have a common unit named DBTreeView.pas.

winni

  • Hero Member
  • *****
  • Posts: 2280
Re: custom list control
« Reply #21 on: February 28, 2021, 09:49:27 pm »
Hi!

It seems that this is not only a DB error.

I had the same problem but nobody could give me an answer:

https://forum.lazarus.freepascal.org/index.php/topic,53286.msg394040.html#msg394040

Winni

jamie

  • Hero Member
  • *****
  • Posts: 4342
Re: custom list control
« Reply #22 on: February 28, 2021, 09:59:41 pm »
ah , most likely in the wrong place.

maybe the installer needs to look through all ?
The only true wisdom is knowing you know nothing

GetMem

  • Hero Member
  • *****
  • Posts: 3978
Re: custom list control
« Reply #23 on: February 28, 2021, 10:04:33 pm »
@winni

Quote
It seems that this is not only a DB error.

I had the same problem but nobody could give me an answer:

https://forum.lazarus.freepascal.org/index.php/topic,53286.msg394040.html#msg394040

If you create a project/package with Lazarus trunk, then you try to open with 2.0.X you are in for a big surprise. The files/requirements are no longer available, the project basically is unusable. Since the vast majority of developers works with lazarus trunk, the above mentioned error happens a lot.
When developing with Lazarus trunk, you can try to minimize the damage using the check in project options(see attachment), but usually it does not help.

Your issue looks slightly different though, I'm not sure is caused by the same mechanism. Personally I never experienced anything similar with trunk.
« Last Edit: February 28, 2021, 10:25:17 pm by GetMem »

winni

  • Hero Member
  • *****
  • Posts: 2280
Re: custom list control
« Reply #24 on: February 28, 2021, 11:14:34 pm »
@GetMem

Thanx for the answer.

No, I dont use the trunk.

It happened with fpc 3.04, Laz 2.0.10, Linux64 on gtk2.
After a clean.

Winni

jamie

  • Hero Member
  • *****
  • Posts: 4342
Re: custom list control
« Reply #25 on: February 28, 2021, 11:35:30 pm »
speaking of which, I wonder if anyone has successfully compiled the Trunk IDE using fpc 3.0.4  for windows ?

would be interesting. It would be a plus for me.

I suppose I could try that on my other PC, I have a copy of I think 2.0.8 Laz which is 3.0.4, maybe I could direct the compiler path to that, hmmm..

The only true wisdom is knowing you know nothing

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1365
  • Former Delphi 1-7, 10.2 User
Re: custom list control
« Reply #26 on: February 28, 2021, 11:43:36 pm »
I have a copy of I think 2.0.8 Laz which is 3.0.4, maybe I could direct the compiler path to that, hmmm..

You can if you change the compiler from plain fpc to the relevant ppc* version (Tools > Options > Files - Compiler executable). I have Lazarus 2.0.6/8/10/12/trunk installed with FPC 3.04/3.20/trunk on macOS (where I compile Windows executables) and it works perfectly.
Lazarus 2.1 r64861 FPC 3.3.1 r49035 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64891 3.3.1 r49100 macOS 11.2.3 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

jamie

  • Hero Member
  • *****
  • Posts: 4342
Re: custom list control
« Reply #27 on: February 28, 2021, 11:46:26 pm »
that's good to know, I will give that a try later on tonight, first I need to walk the dog.. ::)

Thanks
The only true wisdom is knowing you know nothing

dsiders

  • Sr. Member
  • ****
  • Posts: 442
Re: custom list control
« Reply #28 on: March 01, 2021, 04:59:25 am »
speaking of which, I wonder if anyone has successfully compiled the Trunk IDE using fpc 3.0.4  for windows ?

Yes. I built SVN r64643 with 3.0.4, which was just a few days ago.
Lazarus 2.0.12 / 2.1 (SVN) / FPC 3.0.4 / FPC 3.2.0 / x86-win64 / Windows 8.1

alaa123456789

  • Full Member
  • ***
  • Posts: 167
Re: custom list control
« Reply #29 on: March 01, 2021, 03:06:51 pm »
Then look at QQPanel from CNVCL. It is easy to convert because all code is in one unit and easy coded.
i downloaded , it couldn't be converted to Lazarus always showing errors , i have tried many times

thanks

 

TinyPortal © 2005-2018