Re: [Lazarus] Watch List shows absolute rubbish

2016-10-14 Thread Graeme Geldenhuys via Lazarus
On 2016-10-14 20:45, Martin Frb via Lazarus wrote: > Ok, thats a first, never seen that before. I finally found the cause of the problem. I don’t use build modes in Lazarus, so only ever looked at the “Project Options -> Compiler Options -> Compilation and Linking” screen. That’s where I set the

Re: [Lazarus] Watch List shows absolute rubbish

2016-10-14 Thread Martin Frb via Lazarus
On 14/10/2016 19:14, Graeme Geldenhuys via Lazarus wrote: On 2016-10-14 18:45, Martin Frb via Lazarus wrote: And the same compiler settings? Both have the exact same compiler settings... -l -Mobjfpc -Sh -Sc -Si -gl -O- -gh -dUseCThreads -viewn I excluded the unit paths from the above list of

Re: [Lazarus] Watch List shows absolute rubbish

2016-10-14 Thread Graeme Geldenhuys via Lazarus
On 2016-10-14 18:45, Martin Frb via Lazarus wrote: > And the same compiler settings? Both have the exact same compiler settings... -l -Mobjfpc -Sh -Sc -Si -gl -O- -gh -dUseCThreads -viewn I excluded the unit paths from the above list of compiler options. Regards, Graeme -- fpGUI Toolkit -

Re: [Lazarus] Watch List shows absolute rubbish

2016-10-14 Thread Martin Frb via Lazarus
On 14/10/2016 17:02, Graeme Geldenhuys via Lazarus wrote: On 2016-10-14 16:48, Graeme Geldenhuys via Lazarus wrote: How the hell is one supposed to do debugging like this?? I guess the answer is to simply use MSEide to debug LCL applications (and all other applications too). Attached is a

Re: [Lazarus] TPageControl cannot change parent

2016-10-14 Thread Mattias Gaertner via Lazarus
On Fri, 14 Oct 2016 12:16:25 +0200 Torsten Bonde Christiansen via Lazarus wrote: >[...] > In the designer it is not posible to use the builtin feature of "Change > Parent" (from the context menu) with a TPageControl. Other controls > seems to work fine (although

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Reimar Grabowski via Lazarus
On Fri, 14 Oct 2016 16:24:04 +0100 Lukasz Sokol via Lazarus wrote: > D'oh, really. > D'oh, really? (fixed that for you) Answer: No (well actually the part about matlab I meant serious) Reminder to myself: The interwebz dozn't get sarcazm The interwebz dozn't get

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-14 Thread Graeme Geldenhuys via Lazarus
On 2016-10-14 12:08, Mehmet Erol Sanliturk wrote: > program can not be compiled as a Lazarus program or an fpGUI program as it > is like compiling the same program by Delphi ( with required compiler > directives ) . It is necessary either use Lazarus or fpGUI programming . I am yet to see that in

Re: [Lazarus] Fast-small utilities for common javascript tasks, anyone?

2016-10-14 Thread Leonardo M. Ramé via Lazarus
El 12/10/16 a las 10:50, Michael Van Canneyt escribió: On Wed, 12 Oct 2016, Leonardo M. Ramé via Lazarus wrote: El 08/10/16 a las 05:18, Michael Van Canneyt via Lazarus escribió: Hi Michael, could you post jsmin.pas here?. I added it to FPC SVN. packages/fcl-js, unit jsminifier. I included

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Mehmet Erol Sanliturk via Lazarus
On Fri, Oct 14, 2016 at 3:48 AM, Graeme Geldenhuys via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On 2016-10-13 23:13, Erwin van den Bosch via Lazarus wrote: > > The problem is that you should separate your business logic and > > the GUI. With Delphi like RAD it's very difficult to do

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Graeme Geldenhuys via Lazarus
On 2016-10-14 12:01, Graeme Geldenhuys via Lazarus wrote: > and maybe incite them every now and again Oops, that meant to read: "...and maybe entice them..." Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Graeme Geldenhuys via Lazarus
On 2016-10-14 09:18, Michael Schnell via Lazarus wrote: > The OP explained that his main purpose is to introduce more fun in the > education. That can be done by plunging into programming directly with > GUI development. So for somebody that doesn't know anything about programming, then

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Graeme Geldenhuys via Lazarus
On 2016-10-13 23:13, Erwin van den Bosch via Lazarus wrote: > The problem is that you should separate your business logic and > the GUI. With Delphi like RAD it's very difficult to do that. (but it is > possible) Everything is coded in events and connected to database aware > GUI controls. (In

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Mehmet Erol Sanliturk via Lazarus
On Fri, Oct 14, 2016 at 1:50 AM, Michael Schnell via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On 14.10.2016 00:13, Erwin van den Bosch via Lazarus wrote: > >> >> I'm not a big fan of the RAD development way any more. (I was years ago). >> The problem is that you should separate your

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Mehmet Erol Sanliturk via Lazarus
On Fri, Oct 14, 2016 at 1:18 AM, Michael Schnell via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On 13.10.2016 10:20, Graeme Geldenhuys via Lazarus wrote: > >> +1 >> That would be the best solution. GUI programming is based on >> fundamentals than need to be understood first. >> > > -1 !! >

Re: [Lazarus] Windows 10 force any non-white background color to White

2016-10-14 Thread shoKwave via Lazarus
Am 14.10.2016 um 11:10 schrieb Dennis via Lazarus: Can anyone help? I googled and the only articles is about changing the title bar color, not the form's color. Dennis Maybe a TPanel can help. Ingo -- ___ Lazarus mailing list

[Lazarus] Windows 10 force any non-white background color to White

2016-10-14 Thread Dennis via Lazarus
I have a program written in lazarus running normally in windows 7. When run in windows 10, the green color of the Frame/Form is changed by Windows 10 to white. Now my customer is complaining the bright white is hurting his eyes. Can anyone help? I googled and the only articles is about

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Michael Schnell via Lazarus
On 14.10.2016 00:13, Erwin van den Bosch via Lazarus wrote: I'm not a big fan of the RAD development way any more. (I was years ago). The problem is that you should separate your business logic and the GUI. This is absolutely true especially when doing large systems or (embedded) systems

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

2016-10-14 Thread LacaK via Lazarus
Dňa 14.10.2016 o 10:08 Tony Whyman via Lazarus napísal(a): On 14/10/16 06:43, LacaK via Lazarus wrote: I do not know IBX, but don't you use overriden TDataSet.InternalInitFieldDefs ? It will allow you put extra info into FieldDef and then use overriden TDataSet.CreateFields, which will allow

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Michael Schnell via Lazarus
On 13.10.2016 10:20, Graeme Geldenhuys via Lazarus wrote: +1 That would be the best solution. GUI programming is based on fundamentals than need to be understood first. -1 !! The OP explained that his main purpose is to introduce more fun in the education. That can be done by plunging into

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

2016-10-14 Thread Tony Whyman via Lazarus
On 14/10/16 06:43, LacaK via Lazarus wrote: I do not know IBX, but don't you use overriden TDataSet.InternalInitFieldDefs ? It will allow you put extra info into FieldDef and then use overriden TDataSet.CreateFields, which will allow you pass extra info from TIBFieldDef into TIBStringField

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread zeljko via Lazarus
On 10/14/2016 08:28 AM, Mehmet Erol Sanliturk via Lazarus wrote: I consider QT a very big trap . Please be careful about its license if you want to develop commercial software and also if you want to teach computer programming to the students that they will work for commercial companies . I

Re: [Lazarus] Teaching Pascal at College

2016-10-14 Thread Mehmet Erol Sanliturk via Lazarus
On Thu, Oct 13, 2016 at 3:13 PM, Erwin van den Bosch via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > Although I use Free Pascal/Lazarus a lot (because we have a lot of > existing pascal code) I think C++ and some GUI framework like QT might be a > better option. C/C++ is the number one used