Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-11 Thread Mattias Gaertner via Lazarus
On Tue, 12 Jun 2018 00:08:42 +0200 Bo Berglund via Lazarus wrote: >[...] > >Since your package contains Register procedures it probably has > >design time stuff. > > I don't know what counts as "design time stuff"... > There is no GUI stuff in the unit at all. But it can be dropped on a >

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-11 Thread Paul Breneman via Lazarus
On 06/11/2018 03:03 PM, Bo Berglund via Lazarus wrote: On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus wrote: On 10.06.2018 15:11, Bo Berglund via Lazarus wrote: ... Build IDE: Exit code 2, Errors: 23 ... You want to compile some 3rd party Dongle code in the IDE ? That is

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-11 Thread Bo Berglund via Lazarus
On Mon, 11 Jun 2018 23:17:30 +0200, Mattias Gaertner via Lazarus wrote: >On Mon, 11 Jun 2018 21:03:14 +0200 >Bo Berglund via Lazarus wrote: > >> On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus >> wrote: >> >> >On 10.06.2018 15:11, Bo Berglund via Lazarus wrote: >> >> ...

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-11 Thread Mattias Gaertner via Lazarus
On Mon, 11 Jun 2018 21:03:14 +0200 Bo Berglund via Lazarus wrote: > On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus > wrote: > > >On 10.06.2018 15:11, Bo Berglund via Lazarus wrote: > >> ... Build IDE: Exit code 2, Errors: 23 ... > > > >You want to compile some 3rd party

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-11 Thread Bo Berglund via Lazarus
On Mon, 11 Jun 2018 10:23:44 +0200, Michael Schnell via Lazarus wrote: >On 10.06.2018 15:11, Bo Berglund via Lazarus wrote: >> ... Build IDE: Exit code 2, Errors: 23 ... > >You want to compile some 3rd party Dongle code in the IDE ? > >That is more than weired ! > Sorry, I don't really know

Re: [Lazarus] SynEdit lexer dont hilite & char

2018-06-11 Thread Martin Frb via Lazarus
On 11/06/2018 16:57, AlexeyT via Lazarus wrote: MartinFb, are you sure & char must not be hilited as .,:= etc? it's black here. The & has 2 uses in fpc &101  an octal number   escape the "word" the latter makes only sense, if "word" is a reserved keyword. It allows you to do   var : integer;

[Lazarus] SynEdit lexer dont hilite & char

2018-06-11 Thread AlexeyT via Lazarus
MartinFb, are you sure & char must not be hilited as .,:= etc? it's black here. procedure TRTBSource.SaveToFile(:string); var   Data:TStrings; begin Data:=TStringList.Create; Data.Text:=Text; Data.SaveToFile(); FreeAndNil(Data); end; -- Regards, Alexey --

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:49, zeljko ha escrit: On 11.06.2018 11:43, Luca Olivetti via Lazarus wrote: El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then begin   

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:43, Luca Olivetti via Lazarus ha escrit: El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then begin    ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinValue);

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread zeljko via Lazarus
On 11.06.2018 11:43, Luca Olivetti via Lazarus wrote: El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then begin    ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinValue);   

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to     if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then     begin   ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinValue);   ASpinWidget.setMaximum(ACustomFloatSpinEdit.MaxValue);

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
El 11/06/18 a les 11:14, Luca Olivetti via Lazarus ha escrit: Lazarus 1.8.4, FPC 3.0.4, x86_64-linux-qt5 In a spinedit, if I set maxvalue and minvalue to 0, the spinedit doesn't work with the qt5 widgetset. I see that in qtswsspin.pp     if (ACustomFloatSpinEdit.MaxValue >

[Lazarus] spinedit issue with qt5

2018-06-11 Thread Luca Olivetti via Lazarus
Lazarus 1.8.4, FPC 3.0.4, x86_64-linux-qt5 In a spinedit, if I set maxvalue and minvalue to 0, the spinedit doesn't work with the qt5 widgetset. I see that in qtswsspin.pp if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then begin

Re: [Lazarus] Using a component OBJ file in Lazarus?

2018-06-11 Thread Michael Schnell via Lazarus
On 10.06.2018 15:11, Bo Berglund via Lazarus wrote: ... Build IDE: Exit code 2, Errors: 23 ... You want to compile some 3rd party Dongle code in the IDE ? That is more than weired ! -Michael -- ___ Lazarus mailing list

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

2018-06-11 Thread Michael Schnell via Lazarus
On 08.06.2018 19:05, Bo Berglund via Lazarus wrote: This Delphi package is a collection of some 20 components and all of them have Register procedures inside of each source file. Are those really IDE-relevant packages (showing up in the visual component selection ) ? If not, they might be