[lazarus] Major modifications added to CVS

Michael A. Hess mhess at miraclec.com
Sun Jul 18 20:50:46 EDT 1999


Greetings,

I just added the dialogs.pp unit with gtk dependence removed.

One note. Do NOT destroy the Open File Dialog with the 'X' at this time.
I will fix this problem but it currently doesn't clean up some widgets
correctly. The "OK" and "Cancel" work correctly.

I also add SetBounds to the TControl. This allows you to modify the
dimensions and position of a component and only fire the resize event
once instead of each time for each position changed.

Added a SendMessage method to TControl so that any component can send
messages to the interface unit with out having to directly use the unit.

I added a DoEvents method so that if you are in an extended loop in your
code you can call this to make sure events get taken care of.

Modified the CreateComponent so that it passes Self to the interface.
Most of the items currently passed are already in Self and I needed Self
to be able to complete the dialogs. This will make some of the messages
easier to manage.

Shane,

I left the IntSendMessage, and IntSendMessage2 as they are and added
IntSendMessage3. We should try and modify the other to also use Self.
Don't pass individually what we can pass as class data.


All of use seem to be doing some major work at this point and I tried to
avoid touching more than I had to to get dialogs working. With the new
messaging stuff it should prevent much of this in the future. I was able
to compile lazarus as it stands in CVS right now.

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list