Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Luiz Americo Pereira Camara
2016-03-07 17:25 GMT-03:00 Ondrej Pokorny : > > > Hit Ctrl+Shift+X on the undeclared variable x and you get a dialog: > Thanks for the work In the dialog title, i suggest to replace "variable" by "field" Luiz -- ___ Lazarus mailing

Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Dmitry Boyarintsev
On Mon, Mar 7, 2016 at 3:25 PM, Ondrej Pokorny wrote: > I implemented "class code creation" in r51851. I was already tired of > creating/copying object variables by hand. The idea is the same as with > code creation (ctrl+shift+c), but the variable is created in one of the >

Re: [Lazarus] Form Resizing

2016-03-07 Thread zeljko
On 03/07/2016 10:15 AM, Bo Berglund wrote: When I try to find a gtk3 setting inside Lazarus I only do so in the dialog Tools/Configure_BuildLazarus, where it is contained in a dropdown box labelled "LCL widget type" and named "gtk3 (alpha)". There seems to be no way to build an *application*

Re: [Lazarus] Form Resizing

2016-03-07 Thread Juha Manninen
On Mon, Mar 7, 2016 at 11:15 AM, Bo Berglund wrote: > If this means that Raspbian is using LXDE is beyond me but it seems > like it is using gtk3 by this wording. > > When I try to find a gtk3 setting inside Lazarus I only do so in the > dialog Tools/Configure_BuildLazarus,

Re: [Lazarus] Form Resizing

2016-03-07 Thread Mark Morgan Lloyd
Bo Berglund wrote: I have located the release document for Raspbian Jessie here: https://www.raspberrypi.org/blog/raspbian-jessie-is-here/ A little bit down they write the following: the appearance of Raspbian is now based on version 3 of GTK+, the user interface toolkit used for the LXDE

Re: [Lazarus] Lazarus svn trunk compilation broken under Windows

2016-03-07 Thread Ondrej Pokorny
On 07.03.2016 12:45, Bart wrote: Already fixed in r51838 And in FPC r33144 : http://mantis.freepascal.org/view.php?id=29776 Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Firefox

2016-03-07 Thread Paul Breneman
On 03/07/2016 03:19 AM, Mark Morgan Lloyd wrote: Michael Schnell wrote: On 03/04/2016 07:50 PM, Larry Dalton wrote: Is anyone running a lazarus program on a Firefox browser? What is this supposed to mean ? AFAIK, there is an fpc to java script compile somewhere, but I don't know the state

Re: [Lazarus] Form Resizing

2016-03-07 Thread Mark Morgan Lloyd
Juha Manninen wrote: I only started writing in this thread because I also fond the same behaviour as the original poster did and it seemed like that report was shunned as being bogus. So I wanted to chip in with my observations to help *the developers* to nail down and fix the problem, but now

Re: [Lazarus] Form Resizing

2016-03-07 Thread Juha Manninen
On Mon, Mar 7, 2016 at 12:25 PM, Mark Morgan Lloyd wrote: > I'll leave somebody else to comment on the current status of GTK3, which I > think would be of general interest. It would need somebody to finish the implementation and to maintain it. Anybody? The

Re: [Lazarus] Lazarus svn trunk compilation broken under Windows

2016-03-07 Thread Bart
On 3/7/16, zeljko wrote: >> > win32wscustomlistview.inc(84,15) Error: Incompatible types: got >> "TYPES.TSmallPoint" expected "WINDOWS.TSmallPoint" >> > win32wscomctrls.pp(1017) Fatal: There were 1 errors compiling module, >> stopping >> > Fatal: Compilation aborted >> >

Re: [Lazarus] Lazarus svn trunk compilation broken under Windows

2016-03-07 Thread zeljko
On 03/06/2016 10:32 AM, Sandro Cumerlato wrote: > win32wscustomlistview.inc(84,15) Error: Incompatible types: got "TYPES.TSmallPoint" expected "WINDOWS.TSmallPoint" > win32wscomctrls.pp(1017) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted Please review

Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Ondrej Pokorny
On 08.03.2016 2:29, Luiz Americo Pereira Camara wrote: In the dialog title, i suggest to replace "variable" by "field" Will do! Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Ondrej Pokorny
I don't think this is possible or reasonable. On 08.03.2016 2:39, Dmitry Boyarintsev wrote: procedure TClass.Test(y: integer); begin x private|:= y; end; One problem is that CodeTools need valid syntax in front of y to evaluate the type of y correctly (the type that x gets). Eventually

Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Jesus Reyes A.
En Mon, 07 Mar 2016 21:21:03 -0600, Ondrej Pokorny escribió: I don't think this is possible or reasonable. On 08.03.2016 2:39, Dmitry Boyarintsev wrote: procedure TClass.Test(y: integer); begin x private|:= y; end; One problem is that CodeTools need valid syntax in

[Lazarus] Microsoft SQL Server coming to Linux

2016-03-07 Thread Anthony Walter
For those of you using Linux with interest in database development here is some news for you: Microsoft SQL Server will soon be officially supported on Linux. https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/ Microsoft Executive Vide President Scott Gu has been

Re: [Lazarus] Form Resizing

2016-03-07 Thread Mark Morgan Lloyd
Juha Manninen wrote: On Sun, Mar 6, 2016 at 7:27 PM, Bo Berglund wrote: I have no idea what you mean by this statement... What is LXDE and how do I test Lazarus for LXDE? Bo, I have a strong feeling that you are playing dummy. Why do you do it? You must know the

Re: [Lazarus] Firefox

2016-03-07 Thread Michael Schnell
On 03/04/2016 07:50 PM, Larry Dalton wrote: Is anyone running a lazarus program on a Firefox browser? What is this supposed to mean ? AFAIK, there is an fpc to java script compile somewhere, but I don't know the state Not so closely related to Firefox: there also is an fpc to java byte

[Lazarus] PWM on raspberry pi

2016-03-07 Thread Koenraad Lelong
Hi, I'm trying to configure a PWM-pin on the raspberry pi 2. I'm using pigpio, with the demo-program. I configured pin 12 (GPIO 18) to be a PWM pin. When I click the PWM-button on the demo-program, the pi hangs. I have to power-cycle to "recover". I modified this: REG_GPIO = $3F000; and

Re: [Lazarus] PWM on raspberry pi

2016-03-07 Thread Mark Morgan Lloyd
Koenraad Lelong wrote: Hi, I'm trying to configure a PWM-pin on the raspberry pi 2. I'm using pigpio, with the demo-program. I configured pin 12 (GPIO 18) to be a PWM pin. When I click the PWM-button on the demo-program, the pi hangs. I have to power-cycle to "recover". I modified this:

[Lazarus] Ann: class code creation

2016-03-07 Thread Ondrej Pokorny
I implemented "class code creation" in r51851. I was already tired of creating/copying object variables by hand. The idea is the same as with code creation (ctrl+shift+c), but the variable is created in one of the class section: unit Unit1; {$mode objfpc}{$H+} interface type TClass =

Re: [Lazarus] PWM on raspberry pi

2016-03-07 Thread Koenraad Lelong
Op 07-03-16 om 20:11 schreef Mark Morgan Lloyd: Koenraad Lelong wrote: Hi, I'm trying to configure a PWM-pin on the raspberry pi 2. I'm using pigpio, with the demo-program. I configured pin 12 (GPIO 18) to be a PWM pin. When I click the PWM-button on the demo-program, the pi hangs. I have to

Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Michael Van Canneyt
On Mon, 7 Mar 2016, Ondrej Pokorny wrote: I implemented "class code creation" in r51851. I was already tired of creating/copying object variables by hand. The idea is the same as with code creation (ctrl+shift+c), but the variable is created in one of the class section: Nice, that will

Re: [Lazarus] Form Resizing

2016-03-07 Thread Bo Berglund
On Sun, 6 Mar 2016 23:47:19 +0100, Giuliano Colla wrote: >Il 06/03/2016 18:27, Bo Berglund ha scritto: >[...] >> I have no idea what you mean by this statement... >> What is LXDE and how do I test Lazarus for LXDE? >A general hint: whenever you don't know what an

Re: [Lazarus] Firefox

2016-03-07 Thread Mark Morgan Lloyd
Michael Schnell wrote: On 03/04/2016 07:50 PM, Larry Dalton wrote: Is anyone running a lazarus program on a Firefox browser? What is this supposed to mean ? AFAIK, there is an fpc to java script compile somewhere, but I don't know the state Not so closely related to Firefox: there also is

Re: [Lazarus] Form Resizing

2016-03-07 Thread Bo Berglund
On Mon, 7 Mar 2016 03:09:26 +0200, Juha Manninen wrote: >On Sun, Mar 6, 2016 at 7:27 PM, Bo Berglund wrote: >> I have no idea what you mean by this statement... >> What is LXDE and how do I test Lazarus for LXDE? > >Bo, I have a strong feeling