On Jan 18, 2006, at 3:57 PM, Don Taylor wrote:

I had my ui laid out pretty much as I wanted it so I started to add code. I entered an onInitialize method for the form and then realized that this was fired 2x on initialization (and once more on when the program is shut down?) which is no6t what I wanted.

onInitialize()? There isn't any 'Initialize' event in Dabo. How was that getting called?

So I tried an onCreate method and this did only get fired once. I tried to delete (in the Editor) the onInitialize method but there really is no means to do this other than by removing the code body. Once I started doing this I kept getting compilation errors when I ran the code - even after I had restored the onInitialize code to its former glory (a print statment).

Removing the code should indeed wipe out the code. I just tried it with your .cdxml file on both Mac and Windows, and it worked as expected.

So I closed down everything and restarted the Designer at which point it barfed at me and punished me by adding extra sizer slots to some of my horizontal sizers.

This was a bug in the Spacer code that was fixed late last week. Please try it again.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to