Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-29 Thread Martin Schreiber via Lazarus
On Sunday 28 October 2018 17:25:45 Bo Berglund via Lazarus wrote: > On Sun, 28 Oct 2018 09:24:40 +0200, Juha Manninen via Lazarus >>I personally would just copy the needed indy units into my project >>subdirectory and add them to the project. If any of those units >>require LCL, the project will

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-28 Thread Martin Schreiber via Lazarus
On Sunday 28 October 2018 08:24:40 Juha Manninen via Lazarus wrote: > I personally would just copy the needed indy units into my project > subdirectory and add them to the project. If any of those units > require LCL, the project will not compile. Simple, ha? Or add the Indy *.ppu directory as a

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-28 Thread Martin Schreiber via Lazarus
On Sunday 28 October 2018 00:44:17 Bo Berglund via Lazarus wrote: > > But when I tried to build the project it complained that it could not > find Interfaces, so I remembered that this is supplied by LCL, so I > tried adding LCL back to the project required packages. > Then the project built OK.

Re: [Lazarus] Built console app on Linux, but won't run on another Linux machine

2018-10-27 Thread Martin Schreiber via Lazarus
On Saturday 27 October 2018 14:32:38 Bo Berglund via Lazarus wrote: > > That is the problem, I don't know how to remove a dependency like > this... > Another option: - Compile the project with -vu, copy the message to a file. - Analise the file with the MSEunitdep tool from here:

Re: [Lazarus] Scaling of menuitem icons

2018-10-14 Thread Martin Schreiber via Lazarus
On Saturday 13 October 2018 22:08:59 Juha Manninen via Lazarus wrote: > > I wanted to take a screenshot but the IDE's menus always close when > Spectacle (screeshot app) takes it. Do you use a delay? https://userbase.kde.org/Spectacle#Screenshot_delay Martin --

Re: [Lazarus] Trying to install Lazarus with fpc setup for debugging its libraries.

2018-06-01 Thread Martin Schreiber via Lazarus
On Friday 01 June 2018 21:03:15 Donald Ziesig via Lazarus wrote: > I needed to compile fpc and the rtl and fpl libraries for debugging so I > downloaded the sources from SourceForge. > > I built fpc from the sources (with -gl flag for debugging - it runs) Please don't forget -O-. Martin --

Re: [Lazarus] How to debug DB errors.

2018-05-30 Thread Martin Schreiber via Lazarus
On Wednesday 30 May 2018 18:44:12 Donald Ziesig via Lazarus wrote: > I am now going to uninstall Lazarus and FPC and re-installing it from > scratch. Hopefully that will fix it. If not, I'll let you know. > If the information in the stack window is insufficient in case of an exception stop

Re: [Lazarus] How to debug DB errors.

2018-05-30 Thread Martin Schreiber via Lazarus
On Wednesday 30 May 2018 16:24:30 Donald Ziesig via Lazarus wrote: > Hi Everyone, > > I have been developing database apps for years and I have finally > reached my limit.  Occasionally I get exceptions in the db code but the > Call Stack is truncated as is shown below.  I usually just "bite the >

Re: [Lazarus] OI / App crash - components with published interfaces

2018-02-18 Thread Martin Schreiber via Lazarus
On Sunday 18 February 2018 13:16:36 Andreas Friec39f via Lazarus wrote: > Now i have inserted code in the TIntfComp to remove the link to the > interface > > > > destructor TIntfComp.Destroy; > begin >   FObjectHasInterface := nil;  // <<-- Crahe here now >   inherited

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-12-05 Thread Martin Schreiber via Lazarus
On Tuesday 05 December 2017 13:01:43 Michael Schnell via Lazarus wrote: > On 05.12.2017 12:16, Martin Schreiber via Lazarus wrote: > > What is wrong with TDBGrid??? > > As I quoted, Graeme claims it's slow. > I doubt it. At least the MSEgui DB-grids are not slow. DB-grids

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-12-05 Thread Martin Schreiber via Lazarus
On Tuesday 05 December 2017 09:41:30 Michael Schnell via Lazarus wrote: > > While for perfect performance / clearness / portability / ... , DBGrid > supposedly should not be used in a production release, it might be very > helpful when designing an application. > What is wrong with TDBGrid???

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-12-04 Thread Martin Schreiber via Lazarus
On Tuesday 05 December 2017 00:50:19 Graeme Geldenhuys via Lazarus wrote: > On 2017-12-02 14:48, Marcos Douglas B. Santos via Lazarus wrote: > > I think you misunderstand me. I said "RAD is the best way to code a > > GUI", the visual part, not the business rules. > > For that you just need a

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-12-01 Thread Martin Schreiber via Lazarus
On Friday 01 December 2017 09:47:04 Michael Schnell via Lazarus wrote: > On 01.12.2017 08:22, Martin Schreiber via Lazarus wrote: > > For me Delphi is not the best RAD environment and therefore > > developments made with Delphi should not be used to disqualify RAD as > &g

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-30 Thread Martin Schreiber via Lazarus
On Friday 01 December 2017 08:01:06 Graeme Geldenhuys via Lazarus wrote: > On 2017-12-01 06:42, Martin Schreiber via Lazarus wrote: > > That is your opinion, my opinion is that RAD is the most productive > > development technology for most of the projects if done right, > >

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-30 Thread Martin Schreiber via Lazarus
On Friday 01 December 2017 00:30:05 Graeme Geldenhuys via Lazarus wrote: > On 2017-11-30 11:46, Michael Schnell via Lazarus wrote: > > Nonetheless, IMHO RAD is a great way to start programming, as you > > immediately and painlessly can see (visualize) what your "business > > RAD should only be

Re: [Lazarus] External/out-of-tree LCL widgetset

2017-11-26 Thread Martin Schreiber via Lazarus
On Sunday 26 November 2017 14:53:54 Stéphane Aulery via Lazarus wrote: > Hello, > > On Thu, Nov 23, 2017 at 04:23:19AM +0200, Kostas Michalopoulos via Lazarus wrote: > > My main motivation is wanting to get away from the modern madness of > > GTK3+/Qt5+/Wayland and all that stuff and their

Re: [Lazarus] Delphi, Kylix or Lazarus multi-form DB app example

2017-10-05 Thread Martin Schreiber via Lazarus
On 10/05/2017 11:09 AM, Graeme Geldenhuys via Lazarus wrote: > Hi, > > I'm just curious. Kylix and Delphi (at least v7) comes with excellent > documentation and quite a few example projects. But not a single DB > example shows a multi-form database application. Here is a Free Pascal RAD-style

Re: [Lazarus] Running Unit tests for all projects

2017-07-19 Thread Martin Schreiber via Lazarus
On Wednesday 19 July 2017 15:08:55 Marcos Douglas B. Santos via Lazarus wrote: > On Wed, Jul 19, 2017 at 9:53 AM, Martin Schreiber via Lazarus > > <lazarus@lists.lazarus-ide.org> wrote: > > Screenshot: > > http://mseide-msegui.sourceforge.net/pics/mserun.

Re: [Lazarus] Running Unit tests for all projects

2017-07-19 Thread Martin Schreiber via Lazarus
On Wednesday 19 July 2017 14:43:02 Marcos Douglas B. Santos via Lazarus wrote: > On Tue, Jul 18, 2017 at 11:11 AM, Graeme Geldenhuys via Lazarus > > wrote: > > On 2017-07-18 14:42, Marcos Douglas B. Santos via Lazarus wrote: > > > > MSEide+MSEgui has such a tool in

Re: [Lazarus] Lazarus and Windows 10 IoT

2017-03-22 Thread Martin Schreiber via Lazarus
On Wednesday 22 March 2017 14:19:43 LacaK via Lazarus wrote: > > If not, is there possibility to create same application for Raspberi Pi > - ARM - Linux ? > (Target OS=Linux, Target CPU=Arm ? ... can I crosscompile from > Linux/i386 to Linux/Arm ?) > Yes:

Re: [Lazarus] Does anybody know a TStrinGrid-Component capable of sorting Date. Time, Float ...

2017-02-13 Thread Martin Schreiber via Lazarus
On Monday 13 February 2017 20:25:48 John Landmesser via Lazarus wrote: > Hi, > > i searched some time for such a component ... in vain! > > So i developed myself a TStringGrid, that sorts columns with TDate, > TTime, TFloat ... > TWidgetGrid from MSEgui supports it. There TDataEdit descendendants

Re: [Lazarus] Teaching Pascal at College

2017-01-16 Thread Martin Schreiber via Lazarus
On Sunday 15 January 2017 15:30:44 Martin Vahi via Lazarus wrote: > > I haven't used Lazarus yet, I need to learn it, > but during the development of my own > JavaScript GUI library I have came to a conclusion > that GUI-s are inherently something that require > "dynamic programming" or the code

Re: [Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

2016-11-06 Thread Martin Schreiber via Lazarus
On Monday 07 November 2016 00:39:51 Graeme Geldenhuys via Lazarus wrote: > On 2016-11-06 15:45, zeljko via Lazarus wrote: > > No, I don't know any widgetset which supports different font color/style > > for texthint. > > fpGUI does - for some years now. ;-) I also implemented a specific > colour

Re: [Lazarus] Teaching Pascal at College

2016-10-25 Thread Martin Schreiber via Lazarus
On Monday 24 October 2016 19:53:21 Mehmet Erol Sanliturk via Lazarus wrote: > > > My opinion is that event based programming needs special care . > A simulation example may be useful , for example , by using PetriSim > sources , adapted to Free Pascal . > The last chapter of "Programmieren macht

Re: [Lazarus] Teaching Pascal at College

2016-10-21 Thread Martin Schreiber via Lazarus
On Friday 21 October 2016 13:26:13 Lars via Lazarus wrote: > On Fri, October 21, 2016 2:11 am, Martin Schreiber via Lazarus wrote: > > On Friday 21 October 2016 09:51:38 Lars via Lazarus wrote: > >> I'm not so sure event driven programming is a must to become a > >> co

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Martin Schreiber via Lazarus
On Friday 14 October 2016 13:08:13 Mehmet Erol Sanliturk via Lazarus wrote: > > In previous years > > https://sourceforge.net/projects/mseide-msegui/ > > was limited to Linux . MSEide+MSEgui runs on Windows and Linux from start at 1999. Since several years it runs on FreeBSD too. Martin --

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Martin Schreiber via Lazarus
On Friday 14 October 2016 10:50:28 Michael Schnell via Lazarus wrote: > > With a more careful design it's absolutely possible to do "non RAD" > programs by doing "GUI units" and "business code Units" that interact > via Objects with functions, properties and events (callback-properties) . >

Re: [Lazarus] Teaching Pascal at College

2016-10-13 Thread Martin Schreiber via Lazarus
On Thursday 13 October 2016 16:27:44 Martin Schreiber wrote: A better screenshot who shows what the binary value displays do: http://mseide-msegui.sourceforge.net/pics/rechenkunst.png Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Teaching Pascal at College

2016-10-12 Thread Martin Schreiber via Lazarus
On Wednesday 12 October 2016 20:10:50 Adrian De Armas via Lazarus wrote: > Today I had a meeting about doing the module more interesting to the > students. Currently we teach algorithms making console applications and > usually I receive questions like "Why don't we do something more modern?". >

Re: [Lazarus] TDBEdit, TStringField Size, DataSize, DisplayWidth and MaxLength

2016-10-11 Thread Martin Schreiber via Lazarus
On Tuesday 11 October 2016 16:19:18 Tony Whyman via Lazarus wrote: > On 11/10/16 15:14, Martin Schreiber via Lazarus wrote: > > case i2 of > > 5,6,8,44,56,57,64: begin > > Agree with 5,6, 44, 56, 57 as two byte character sets. > > 8 doesn't seem to ex

Re: [Lazarus] TColor and Alpha channel support

2016-09-26 Thread Martin Schreiber via Lazarus
On Monday 26 September 2016 15:01:04 Graeme Geldenhuys via Lazarus wrote: > On 2016-09-26 13:52, Martin Schreiber via Lazarus wrote: > > Or: > > " > > Alpha := ...; // property Alpha: TColor > > " > > for alpha per colour channel. > > In that

Re: [Lazarus] TColor and Alpha channel support

2016-09-26 Thread Martin Schreiber via Lazarus
On Monday 26 September 2016 14:25:14 Ondrej Pokorny via Lazarus wrote: > > In this case maybe this property pair would be more appropriate (?): > > Color := ...; > Alpha := ...; // property Alpha: Byte > Or: " Alpha := ...; // property Alpha: TColor " for alpha per colour channel. MSEgui works