Or a message is trying to be attached to a widget and the signal does not exist for that widget.
Cliff

Mailing lists / lazarus / 1999-08
11 messages · 6 people ·
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Or a message is trying to be attached to a widget and the signal does not exist for that widget.
Cliff
I just downloaded the new lazarus.zip, but I still don't see a character in the editor.…
Maybe, it looks like there is no filename given back from the filedialog, because the window title is also not set to the filename. But this is a win32-gtk only bug.
At home, I also got the GTK-errormessage that some message (I think message_resize or something like that) was not found, immediately when I launched Lazarus.
Those messages are also shown under linux, so it's a bug in the gtk interface code.
Try this. OPen a file, then move a form over the editor screen, then click on the editor…
Hello, i have the same problem and shane's solution doesn't works for me !
Shane Miller a �crit :
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 wroteTry 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
I just downloaded the new lazarus.zip, but I still don't see a character in the editor.…
I think some of this may be due to the fact that the window is opened before the file is chosen, but I could be wrong about that. It doesn't seem right that it should be created before choosing a file, though. What if the user cancels?
Jeff.
--- Shane Miller wroteAre you on Win32 or Linux? Must be WIN because it works under Linux.
You're right I'm on WIN32.
( I haven't yet managed to get the stuff compiled under linux. I have to play a bit with the makefiles I guess. )
Pascal
_____________________________________________________________ Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
Same for me. There are a lot of things that work in linux but don't in Win32. I really wish I could single step both environments side by side to catch the differences ;)
Jeff.
P.S. When replying to my messages, double check the ReplyTo field. Chances are it is my personal email, not the mailing list. It's an issue with my mail package, and I am trying to figure out how to stop it.
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 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 wroteTry 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 with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
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
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.
Let me know if that works
Shane
>> Pascal Dutilleul 08/02 6:46 AM >>>
Hi,
I just downloaded the new lazarus.zip, but I still don't see a character in the editor. (I opened buttons.pp).
The only thing I see are the vertical gray and white rectangles. I've included the text that was generated to the console, the help you find where the problem is.
I have the same problem here at my office, as at home, both are Win95.
Is that a problem with the GTK DLL's ?
At home, I also got the GTK-errormessage that some message (I think message_resize or something like that) was not found, immediately when I launched Lazarus.
Pascal
---- here is the trace -----
(please don't include it in the reply)
Event [activate] fired for Open
Menu received a message - CLICKED
NUm = 0
Not Found!
Message recieved
Callling CreateComponent
In CreateCompoentr
----------------------Creating component in TgtkObject- STR = 7- 1
Creating a Form...
Called CreateComponent
Message Received
Resizing a control
Message Received
Resizing a control
Message Received
Resizing a control
Message Received
Resizing a control
FComponet was nil so createing....
Message recieved
Callling CreateComponent
In CreateCompoentr
----------------------Creating component in TgtkObject- STR = Canvas- 1
Canvas being created!!!!!!!!!!!!!!!!!!!!!
1
Nothing really done
Called CreateComponent
Caption in MAIN.PP is 0
Message Received
Resizing a control
Message Received
Resizing a control
In TWinControl.Show
In TWinControl.Show
Event [size-allocate] fired for 0
*****This is what DoResize sent****
0
0
200
200
Event [show] fired for 0
FORM received a SHOW
In TWinControl.Show
Message recieved
Callling CreateComponent
In CreateCompoentr
----------------------Creating component in TgtkObject- STR = 18- 1
Called CreateComponent
Message recieved
Message recieved
Event [<Configure Event>] fired for 0
FORM received a Paint
Drawing to the form
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Event fired for 0
Message recieved
Message recieved
Event fired for 0
Event [<Configure Event>] fired for 0
FORM received a Paint
Drawing to the form
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Event fired for Lazarus Editor v
0.0.0.0.0.0.0.1.2.0.0.40.7
Event [activate] fired for Project
Menu received a message - CLICKED
Event [activate] fired for View
Menu received a message - CLICKED
Event [activate] fired for Compiler Options
Menu received a message - CLICKED
In TWinControl.Show
In TWinControl.Show
Event [size-allocate] fired for Compiler Options2
*****This is what DoResize sent****
0
...
------------------------------------------
_____________________________________________________________ Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com
_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus
Hi,
I just downloaded the new lazarus.zip, but I still don't see a character in the editor. (I opened buttons.pp).
The only thing I see are the vertical gray and white rectangles. I've included the text that was generated to the console, the help you find where the problem is.
I have the same problem here at my office, as at home, both are Win95.
Is that a problem with the GTK DLL's ?
At home, I also got the GTK-errormessage that some message (I think message_resize or something like that) was not found, immediately when I launched Lazarus.
Pascal
---- here is the trace -----
(please don't include it in the reply)
Event [activate] fired for Open
Menu received a message - CLICKED
NUm = 0
Not Found!
Message recieved
Callling CreateComponent
In CreateCompoentr
----------------------Creating component in TgtkObject- STR = 7- 1
Creating a Form...
Called CreateComponent
Message Received
Resizing a control
Message Received
Resizing a control
Message Received
Resizing a control
Message Received
Resizing a control
FComponet was nil so createing....
Message recieved
Callling CreateComponent
In CreateCompoentr
----------------------Creating component in TgtkObject- STR = Canvas- 1
Canvas being created!!!!!!!!!!!!!!!!!!!!!
1
Nothing really done
Called CreateComponent
Caption in MAIN.PP is 0
Message Received
Resizing a control
Message Received
Resizing a control
In TWinControl.Show
In TWinControl.Show
Event [size-allocate] fired for 0
*****This is what DoResize sent****
0
0
200
200
Event [show] fired for 0
FORM received a SHOW
In TWinControl.Show
Message recieved
Callling CreateComponent
In CreateCompoentr
----------------------Creating component in TgtkObject- STR = 18- 1
Called CreateComponent
Message recieved
Message recieved
Event [<Configure Event>] fired for 0
FORM received a Paint
Drawing to the form
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Event fired for 0
Message recieved
Message recieved
Event fired for 0
Event [<Configure Event>] fired for 0
FORM received a Paint
Drawing to the form
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Calling interface to draw fillrect
Message Received
Event fired for Lazarus Editor v
0.0.0.0.0.0.0.1.2.0.0.40.7
Event [activate] fired for Project
Menu received a message - CLICKED
Event [activate] fired for View
Menu received a message - CLICKED
Event [activate] fired for Compiler Options
Menu received a message - CLICKED
In TWinControl.Show
In TWinControl.Show
Event [size-allocate] fired for Compiler Options2
*****This is what DoResize sent****
0
...
------------------------------------------
_____________________________________________________________ Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com