[lazarus] Pixels, pixels and pixels

Luis R. Hilario luis at luis-digital.8m.com
Mon Feb 26 23:16:07 EST 2001


Mattias Gaertner wrote:
> 
> Hi Luis,
> 
> The bug in unidad1.pp is that you can not use the canvas in the form
> constructor.
> Add a "procedure Paint; override;" to THello and move the painting code to
> this procedure. Then you will get your red line.
> 
> Mattias

Thank you very much Mattias!
Tomorrow I am not going to continue with Lazarus because KDE 2.1 already
is here and I love KDE2.
http://www.luis-digital.8m.com/linux/kde
 
> On 2001.02.26 20:28:10 +0100 Luis R. Hilario wrote:
> > This mail has two programs (three archives): pixel.pp and unidad1.pp are
> > hello.pp modified
> > pixel1.pp is scribble.pp modified to draw lines.
> >
> > The first program does not work:
> > [TCustomForm.Create] Resource 'THELLO' not found
> > This is for information purposes only.   This is not critical at this
> > time.
> > An unhandled exception occurred at 0x080731B6 :
> > Access violation
> >   0x080731B6  TCUSTOMFORM__GETCANVAS,  line 729 of
> > ./include/customform.inc
> >   0x00000001
> >   0x080C4D44  main,  line 13 of lcllinux.pp
> >
> > The example that is in the program testall.pp yes works.
> >
> > The second I created it to see as that of the pixels in GTK works,
> > but I do not see that the function "gdk_draw_point()" is used in
> > Lazarus.

-- 
 |-----------------------------|
| Luis R. Hilario               |
| http://www.luisdigital.2y.net |
 |-----------------------------|






More information about the Lazarus mailing list