[lazarus] Patches to Shanes files

Baeseman, Cliff Cliff.Baeseman at greenheck.com
Wed Jul 7 10:16:00 EDT 1999


Shane...

    I worked on the code last night and found a few things. The event
dispatcher looks at a passed message and is using a char array. It will blow
past all of the messages and never assign the event to the widget. This is
because the string is munged up with extra chars at the end. This is the
same problem with the menu items. Good news is that the messaging seems to
work as advertised. I hardcoded a clicked event into it and put a button on
the form. When I clicked it the message was passed back and the function
fired. As for control placement you will have to change the code to use
gtk_fixed_put the first time a widget is added to the fixed widget. After it
is in place you can then use move. I had to put that in the control last
night to get the controls to place correctly.

Bad thing is that we have to rewrite some of the component code but because
of the way we designed it in the first place it should be pretty easy to do.


Cliff

-----Original Message-----
From: Shane Miller [mailto:SMiller1 at stvgb.org]
Sent: Wednesday, July 07, 1999 9:06 AM
To: lazarus at miraclec.com
Subject: Re: [lazarus] Patches to Shanes files


All right, were back in business.  I finally got the application to compile
again and bring up the menu.  There was a problem with my "new" AddControl
procedure and I took way too long to figure it out.

For today I'm going to clean up the code so it's somewhat presentable, and
test the new event's.  If the events work correctly (please, please, please)
then I'll update CVS.

Lazarus still has the problem with it's menu's having funny characters at
the end.  I'm not sure why that is.  I know the reason, but not the cause.

Michael, I think you may be right about the interfraceobject being an
unneeded layer.  I was thinking that once we had QT and GTK done it would be
great for a user to simply change a "define" and it would switch tools, but
if they know which tool they want to use, I guess they can specify a file to
link to.

I'll see about cutting that file out.
Shane



_________________________________________________________________
     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