[lazarus] Editor crashing when adding text
Shane Miller
SMiller1 at stvgb.org
Mon Dec 6 15:58:57 EST 1999
OK, I got past that. Now I added a mwPasSyn1 component to TestForm and created it and assigned it appropriatly.
It crashes in TmwPasSyn.NullProc but we are further.
I will continue looking at this stuff tomorrow. Feel free to examine it. I really hope to get something working.
also, the SETTEXT button does a lines.add now instead of a lines := 'Lazarus test';
Shane
>>> weus at quicknet.nl 12/06/99 02:33PM >>>
At 14:27 06-12-99 -0600, you wrote:
>8 worked!!!!!!
>
>Hmmm...interesting huh? Now I can move forward at least....
Allright !!
Its a problem I ran into a ew weeks ago (but then the other way around)
It seems that GDK/GTK doesn't like to display bitmaps other than the color
depth you are running.
A bitmap canvas has a gtk pixmap. By default I created them at a depth of
32, since at that time I didn't put time in asking the depth of the system.
I assumed that, like windows, a 32 bit pixmap could be rendered at 8 (on my
system I only have a depth of 8). This caused like wise messages at the
most strange places (when a button click was handled).
So for the time beeing I defaulted the pixmap depth to 8 (again assuming
that a 8 bit pixmap could be rendered at higher resolutions)
Today we found out that these assumptions aren't correct. I might look to
another way to render bitmaps of a different depth.
Marc
_________________________________________________________________
To unsubscribe: mail lazarus-request at miraclec.com with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
More information about the Lazarus
mailing list