Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-11

cvs updated

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Shane Miller: I added a few more changes. I created the code for TDesigner. Not all of it yet because…
Shane Miller wrote 16 lines
I added a few more changes. I created the code for TDesigner. Not all of it yet because I'm not sure how it all works. I had to get the Notification working and I have that much completed. I'm not totally clear when the TDesigner gets created, and by whom, but I'm creating one for each form after I create the form. This occurs when the user selects FILE - NEW - FORM. Then I assign the TCustomForm's property DESIGNER to the new TDesigner. Paintgrid works. Notification only checks to see if a control is being added. If so, it clears it's ControlSelection (TControlSelection) and adds the new control. I create a TControlSelection for each TDesigner.

Seems OK Each form should have itrs designer (?) and each form should have its control selection (For adding and removing you can look at the selection example)

Marc

Reply by email

Shane Miller

I added a few more changes.

I created the code for TDesigner. Not all of it yet because I'm not sure how it all works. I had to get the Notification working and I have that much completed.

I'm not totally clear when the TDesigner gets created, and by whom, but I'm creating one for each form after I create the form. This occurs when the user selects FILE - NEW - FORM. Then I assign the TCustomForm's property DESIGNER to the new TDesigner.

Paintgrid works.

Notification only checks to see if a control is being added. If so, it clears it's ControlSelection (TControlSelection) and adds the new control. I create a TControlSelection for each TDesigner.

Shane

Reply by email

Marc Weustink
to Shane Miller

Once quick update:

- removed designer from uses clause in forms.pp
A change to the makefiles was needed (and more, do we want designer code in the LCL?) if it stayed there.
It seemed that is was not needed

Marc

Reply by email