Alex Tweedly wrote:
> Ed Leafe wrote:
> 
>>     You could make the handlers in the .cdxml file just be stub
>> methods  that pass the call to the methods defined in the outside
>> file; that's  what the code that creates the class definitions from
>> the cdxml does.
>>
>>     Is there something in particular you want to achieve? If you gave
>> me  more specifics regarding what the goal is here, I might be able
>> to  give a better answer.
>>
> Sure.
> 
> I want to use Dabo more - but I don't like defining the UI in code; I
> don't want to create the controls (and sizers, ...) by writing code, I
> want to do it using a GUI editor (i.e. Class Designer).
> 
> On the other hand, I think CD is a very ambitious project; it suspect it
> will be some considerable time before it is fully developed. The
> technique of storing the code for handlers in the cdxml file is
> interesting - but it means that I can't use the code editors and
> debuggers I am used to. I'd much rather use WingIDE for coding and
> debugging.  It's possible that in the long run CD will provide a way to
> do that - but I don't see how, and my guess is that it may take a while.
> 
> But the part of CD that lays out controls, sets their properties, puts
> them into sizers, etc. is (relatively) straightforward and can all be
> done with fairly well-known methods.
> 
> So if I can use the part I most need, which also happens to be the
> easier 20% of CD, then I'd happily do that and write code the
> traditional way.
> 
> Coincidentally, this would give a way of using Dabo that is quite
> similar to PythonCard - i.e. one I'm already familiar with :-)
> 
> 

I want to do it this way too.
I had to start with my existing forms again when i upgraded to a newer
version of dabo.
When i have to do this, it is always a nightmare to have to copy all
existing code between the old and the new version of the designer class.
Would it be possible to just derive from the Designer generated class
and do the coding of the form methods in the derived class?
I think this would make it very much better to have the layout and the
code in different files.

Uwe

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

Reply via email to