[fpc-pascal] [No subject]

2012-03-15 Thread Mark Morgan Lloyd
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] [No subject]

2012-03-15 Thread Mark Morgan Lloyd
___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Burn a CD

2012-03-15 Thread Marcos Douglas
On Thu, Mar 15, 2012 at 7:57 AM, Leonardo M. Ramé wrote: > > - Original Message - > > > From: Marcos Douglas > > To: Leonardo M. Ramé ; FPC-Pascal users > > discussions > > Cc: > > Sent: Wednesday, March 14, 2012 12:05 PM > > Subject: Re: [fpc-pascal] Burn a CD > > > > On Wed, Mar 14, 20

Re: [fpc-pascal] Burn a CD

2012-03-15 Thread Leonardo M . Ramé
- Original Message - > From: Marcos Douglas > To: Leonardo M. Ramé ; FPC-Pascal users discussions > > Cc: > Sent: Wednesday, March 14, 2012 12:05 PM > Subject: Re: [fpc-pascal] Burn a CD > > On Wed, Mar 14, 2012 at 7:42 AM, Leonardo M. Ramé > wrote: >> If you think in the future yo

Re: [fpc-pascal] class of - instance created is wrong

2012-03-15 Thread Graeme Geldenhuys
On 15 March 2012 12:31, Leonardo M. Ramé wrote: > > > Hi Graeme, this is completely off topic. Does AggPas works in 64bits Linux? I > remember it didn't compile last year. > I does now! ;-) I haven't publish my copy of AggPas yet (which contains the 64-bit fixes). I'll probably push those chang

Re: [fpc-pascal] class of - instance created is wrong

2012-03-15 Thread Leonardo M . Ramé
> > From: Graeme Geldenhuys >To: FPC-Pascal users discussions >Sent: Thursday, March 15, 2012 7:11 AM >Subject: Re: [fpc-pascal] class of - instance created is wrong > >On 15 March 2012 11:36, Mattias Gaertner  wrote: >> >> Is the constructor virtual? > > >It wor

Re: [fpc-pascal] class of - instance created is wrong

2012-03-15 Thread Graeme Geldenhuys
On 15 March 2012 11:36, Mattias Gaertner wrote: > > Is the constructor virtual? I owe you a beer! :-) The original constructor in TfpgCanvasBase was virtual, but some descendant classes did a 'reintroduce' of the constructor which wasn't virtual. Looking at the code now, the reintroduce isn't

Re: [fpc-pascal] class of - instance created is wrong

2012-03-15 Thread Mattias Gaertner
Graeme Geldenhuys hat am 15. März 2012 um 10:07 geschrieben: >[...] > TfpgCanvas >| >+-- TfpgX11Canvas > | > +-- TfpgCanvasBase > > > TAgg2D >| >+-- TfpgCanvasBase >[...] > DefaultCanvasClass: TfpgCanvasBaseClass = nil; > [...] > function TfpgWindow.CreateCa

[fpc-pascal] class of - instance created is wrong

2012-03-15 Thread Graeme Geldenhuys
Hi, I've used the Class Of language feature a lot in the past. eg: tiOPF uses it a lot, I use it to generate various reports in our company projects etc. So I tried to implement a "lazy mans" factory method in my project, so it can generate a class instance based on what the developer chooses. I