[lazarus] no text in editor

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Mon Aug 2 12:18:28 EDT 1999


Shane we just get nothing at all during a file open on win32. I suppose one
of us will have to debug it on windows to see what is happening.

Cliff

-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Monday, August 02, 1999 10:01 AM
To: lazarus at miraclec.com
Subject: Re: [lazarus] no text in editor


Are you on Win32 or Linux?  Must be WIN because it works under Linux. Here's
what happens under Linux.

FORM IS RESIZED:  I fill a pixmap with the form color, then call a DRAW
event.  The EDITOR.PP file gets the draw event then colors the editor.

FORM IS MOVED OR EXPOSED:  I simply draw the portion of the form that was
exposed, not calling a draw event.

The problem on Linux is that I am drawing the form prior to a file being
loaded.  Once I change that, there will be text there right away.  I still
have an issue when resizing the form.  Sometimes it seems to send a draw
message, but it's never gotten.  It would be nice to know when the user is
resizing and releases the mouse button, then I could call DRAW.

Shane


>>> Pascal Dutilleul <pduti at yahoo.com> 08/02 9:04 AM >>>
Hi Shane,

I've tried it, but it doesn't work.
I've opened two editor windows, and I dragged one over the other.  When
I dragged then that window away, then I still don't see no text in the
window that was hidden partially or completely.

I also ALT-TABbed to another application that completely covers
lazarus, and then switched back. But without the desired result.  

I'm not very well used to the lazarus source, but if you give my some
redirections in what sourcefiles the redrawing occurs I could try to
help searching the bug.

Pascal

--- Shane Miller <SMiller1 at stvgb.org> wrote:
> Try this.  OPen a file, then move a form over the
> editor screen, then click on the editor to bring it
> to the front.  Then you'll see the text.  I am
> having a bit of trouble with the draw message yet.

_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com 

_________________________________________________________________
     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus

_________________________________________________________________
     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