Re: [Lazarus] DateTimeToStr gives an invalid format string error when closing an rdp session

2017-01-25 Thread Luca Olivetti via Lazarus
El 24/01/17 a les 22:34, Mattias Gaertner via Lazarus ha escrit: On Tue, 24 Jan 2017 19:24:35 +0100 Luca Olivetti via Lazarus wrote: [...] #0 fpc_raiseexception at :0 #1 SYSUTILS_DATETIMETOSTRING$crc782201FE_STOREFORMAT$ANSISTRING$LONGINT$BOOLEAN at :0 #2 SYSUTILS_DATETIMETOSTRING$crc782201FE_

Re: [Lazarus] DateTimeToStr gives an invalid format string error when closing an rdp session

2017-01-25 Thread Luca Olivetti via Lazarus
El 25/01/17 a les 09:06, Luca Olivetti via Lazarus ha escrit: the error disappears. Reported as http://bugs.freepascal.org/view.php?id=31272 Now, back to my original problem(TPageControl components randomly disappearing) http://bugs.freepascal.org/view.php?id=31272 Or maybe this is i

Re: [Lazarus] DateTimeToStr gives an invalid format string error when closing an rdp session

2017-01-25 Thread Luca Olivetti via Lazarus
El 25/01/17 a les 09:09, Luca Olivetti via Lazarus ha escrit: El 25/01/17 a les 09:06, Luca Olivetti via Lazarus ha escrit: the error disappears. Reported as http://bugs.freepascal.org/view.php?id=31272 Now, back to my original problem(TPageControl components randomly disappearing) ht

Re: [Lazarus] DateTimeToStr gives an invalid format string error when closing an rdp session

2017-01-25 Thread Luca Olivetti via Lazarus
El 25/01/17 a les 09:23, Luca Olivetti via Lazarus ha escrit: El 25/01/17 a les 09:09, Luca Olivetti via Lazarus ha escrit: El 25/01/17 a les 09:06, Luca Olivetti via Lazarus ha escrit: the error disappears. Reported as http://bugs.freepascal.org/view.php?id=31272 Now, back to my original p

[Lazarus] Running an app on boot

2017-01-25 Thread Ed Murashie via Lazarus
I wrote a simple Lazarus program that displays a window and a button and did the same thing using Glade which also uses Gtk+. I am using a Beaglebone Black with the latest stock Debian Jessie image which start a LxQt desktop program after it boots up. When I run my program in the LxQt window or i

[Lazarus] Format code on Save

2017-01-25 Thread Graeme Geldenhuys via Lazarus
Hi, As the subject lines says. If you set up the Jedi Code Formatting options, is there a way to tell Lazarus to automatically format the unit when you Ctrl+S (Save)? Eclipse IDE does that (and much more fine grained if needed) with Java code, at it is actually super useful, and always results in

Re: [Lazarus] Running an app on boot

2017-01-25 Thread zeljko via Lazarus
On 01/25/2017 11:40 AM, Ed Murashie via Lazarus wrote: I wrote a simple Lazarus program that displays a window and a button and did the same thing using Glade which also uses Gtk+. I am using a Beaglebone Black with the latest stock Debian Jessie image which start a LxQt desktop program after it

Re: [Lazarus] Format code on Save

2017-01-25 Thread Mattias Gaertner via Lazarus
On Wed, 25 Jan 2017 11:28:21 + Graeme Geldenhuys via Lazarus wrote: > Hi, > > As the subject lines says. If you set up the Jedi Code Formatting > options, is there a way to tell Lazarus to automatically format the unit > when you Ctrl+S (Save)? Eclipse IDE does that (and much more fine > gr

Re: [Lazarus] Format code on Save

2017-01-25 Thread Graeme Geldenhuys via Lazarus
On 2017-01-25 13:15, Mattias Gaertner via Lazarus wrote: > I can add an event called before saving a source editor file. > Would that help you? I think a "after save" event is needed instead? Does JCF format code directly from memory (SynEdit's buffer), or does it read and format a file from disk.

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Paul Breneman via Lazarus
On 01/25/2017 08:09 AM, zeljko via Lazarus wrote: On 01/25/2017 11:40 AM, Ed Murashie via Lazarus wrote: I wrote a simple Lazarus program that displays a window and a button and did the same thing using Glade which also uses Gtk+. I am using a Beaglebone Black with the latest stock Debian Jessi

Re: [Lazarus] Format code on Save

2017-01-25 Thread Mattias Gaertner via Lazarus
On Wed, 25 Jan 2017 13:25:56 + Graeme Geldenhuys via Lazarus wrote: > On 2017-01-25 13:15, Mattias Gaertner via Lazarus wrote: > > I can add an event called before saving a source editor file. > > Would that help you? > > I think a "after save" event is needed instead? Does JCF format code

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Graeme Geldenhuys via Lazarus
On 2017-01-25 13:26, Paul Breneman via Lazarus wrote: > Or switch to a Raspberry Pi and use https://Ultibo.org ? And then you can also use fpGUI Toolkit to keep things small and “lite” (no large 3rd party libraries required or there dependencies. eg: GTK, Qt etc). Regards, Graeme -- ___

Re: [Lazarus] Format code on Save

2017-01-25 Thread Graeme Geldenhuys via Lazarus
On 2017-01-25 14:15, Mattias Gaertner via Lazarus wrote: > on the current source editor and uses ReplaceLines, so it keeps all > marks and adds one undo step. Nice. That is much better indeed. So a 'before save' would then be the useful one. > An 'after save' could be added, but that would mean

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Santiago A. via Lazarus
El 25/01/2017 a las 15:15, Graeme Geldenhuys via Lazarus escribió: > On 2017-01-25 13:26, Paul Breneman via Lazarus wrote: >> Or switch to a Raspberry Pi and use https://Ultibo.org ? > And then you can also use fpGUI Toolkit to keep things small and > “lite” (no large 3rd party libraries required

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Graeme Geldenhuys via Lazarus
On 2017-01-25 15:28, Santiago A. via Lazarus wrote: > fpgui needs a "graphic environment", Windows or X (or Mac?) . Doesn't it? There is a port to Ultibo that doesn't require X11 or GDI. Take a look at the section “Ultibo with fpGUI support” on http://fpgui.sourceforge.net/community.shtml Regar

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Marc Santhoff via Lazarus
On Mi, 2017-01-25 at 02:40 -0800, Ed Murashie via Lazarus wrote: > I wrote a simple Lazarus program that displays a window and a button and did > the same thing using Glade which also uses Gtk+. > > I am using a Beaglebone Black with the latest stock Debian Jessie image > which start a LxQt deskto

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Marc Santhoff via Lazarus
On Mi, 2017-01-25 at 08:26 -0500, Paul Breneman via Lazarus wrote: > On 01/25/2017 08:09 AM, zeljko via Lazarus wrote: > > You cannot run an X11 application without running X11 server. That's > > wrong. If you need headless server gui app then you can use xfvb for > > such purpose , or normally ru

Re: [Lazarus] Running an app on boot

2017-01-25 Thread Lars via Lazarus
On Wed, January 25, 2017 6:26 am, Paul Breneman via Lazarus wrote: > > Or switch to a Raspberry Pi and use https://Ultibo.org ? Maybe Ultibo > can be ported later to Beaglebone? > Beaglebone is more "open" hardware than pi but I guess that's another topic. The price of pi certainly is attractive