On Jan 23, 2007, at 3:01 PM, Nate Lowrie wrote:
>> I'm pretty sure that this is already in the class designer. You
>> can load
>> your own cdxml-classes to drop on a new form or panel. You can
>> subclass
>> your own cdxml classes. Etc. Or do I misunderstand?
>
> Ok, I was just wondering if we had the capability.......
Yes - that's why it's named the 'Class Designer' and not the 'Form
Designer'.
You can either start with the class you want, or you can select an
item (or assembly of items) in a form, and then use the File/Save as
Class... menu to save that to its own cdxml.
Now when you want to use that class in another design, just right-
click and select 'Custom Classes'. You can then select your saved
cdxml, and it will become part of the new design.
I've tried my best to preserve inheritance as much as possible. When
you save the new design, only those properties and methods that
you've changed should be saved. This way, if you alter the original
custom class, the next time you open/run the form you get that change.
At the end of my last screencast I hinted that I had an idea for
another screencast, and it was exactly this topic. I still hope to
get to it soon.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev