Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Werner Pamler via Lazarus
Am 08.06.2018 um 20:08 schrieb Bo Berglund via Lazarus: On Fri, 8 Jun 2018 10:17:00 -0700 (MST), leledumbo via Lazarus wrote: Or is it just the converter that is havĂ­ng problems? In the package dialog, check "Register unit" for units containing Register procedure. I didn't remember the last t

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Mattias Gaertner via Lazarus
On Fri, 08 Jun 2018 20:08:02 +0200 Bo Berglund via Lazarus wrote: >[...] > Then I tried compiling and for the first few components all I had to > do was add an {$IFDEF DELPHI} bracket around some Delphi version > checking code and they compiled. > I also added this to the top of each component so

[Lazarus] JCF fails on modile NN.mmm

2018-06-09 Thread AlexeyT via Lazarus
JCF gives error window on such a module, AG.Logs.pas (unit AG.Logs). Its known issue? -- Regards, Alexey -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Bo Berglund via Lazarus
On Sat, 9 Jun 2018 11:39:28 +0200, Mattias Gaertner via Lazarus wrote: >On Fri, 08 Jun 2018 20:08:02 +0200 >Bo Berglund via Lazarus wrote: > >>[...] >> Then I tried compiling and for the first few components all I had to >> do was add an {$IFDEF DELPHI} bracket around some Delphi version >> chec

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Bo Berglund via Lazarus
On Sat, 9 Jun 2018 11:27:11 +0200, Werner Pamler via Lazarus wrote: >> Did I start this new package in the wrong way? I simply used >> Package/NewPackage to bring up the dialogs > >I think this is correct. I converted a lot of Delphi packages this way, >without the converter - it gives me mo

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Bo Berglund via Lazarus
On Sat, 09 Jun 2018 17:19:01 +0200, Bo Berglund via Lazarus wrote: >The CustomSort it complains about might exist in a used unit in Delphi >but not in Lazarus for example? I opened Delphi 2007 and dropped an EasyListview object onto the form so I could trace this CustomSort method. If I use the

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Mattias Gaertner via Lazarus
On Fri, 08 Jun 2018 20:08:02 +0200 Bo Berglund via Lazarus wrote: > On Fri, 8 Jun 2018 10:17:00 -0700 (MST), leledumbo via Lazarus >[...] > procedure TEasyListView.DoColumnSort; > var > SortStyle: TColumnSortStyle; > begin > if ViewStyle <> vsReport then Exit; > if not FColumnSorting then E

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Bo Berglund via Lazarus
On Sat, 9 Jun 2018 17:50:43 +0200, Mattias Gaertner via Lazarus wrote: >TCustomListView.CustomSort exists in LCL as well. >Check the declaration of SortByStringProc: > >function SortByStringProc(Item1, Item2: TListItem; >AOptionalParam: PtrInt): Integer; stdcall; > But why does it then not find

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Werner Pamler via Lazarus
Is this MustangPeak's EasyListView https://github.com/TurboPack/MustangpeakEasyListview)? I was trying to convert it myself, but did not even get this far. I got lost in the dependence on another package which did not want to resolve - very windows-specific stuff. If it is a non-closed packaged

Re: [Lazarus] Converting a component package Delphi->Lazarus using built-in converter?

2018-06-09 Thread Bo Berglund via Lazarus
On Sat, 9 Jun 2018 19:08:23 +0200, Werner Pamler via Lazarus wrote: >Is this MustangPeak's EasyListView >https://github.com/TurboPack/MustangpeakEasyListview)? I was trying to >convert it myself, but did not even get this far. I got lost in the >dependence on another package which did not want