On 04/02/2011 14:13, Ed Leafe wrote:
> On Feb 4, 2011, at 5:04 AM, Werner F. Bruhin wrote:
>
>> I like to use dDockForm instead of dForm as an alternative version of
>> lib.datanav, but don't have much success.
>>
>> I don't see a dDockFrom.addPage to form a book control as is supported
>> by dForm.
>>
>> Am I missing/not seeing things or is this not supported?
> I suppose it can probably be done, but I believe you are the first to
> attempt this.
Just to make sure that we talk about the same thing.
With wx.lib.agw.aui I do things like this in my application (don't know
if one can do this in wx.aui or not)
self._mgr = aui.AuiManager()
self._mgr.SetManagedWindow(self.mainPanel)
nb = aui.AuiNotebook(self.mainPanel, -1)
nbp1 = AuiPanel(nb)
nb.AddPage(nbp1, 'Notebook - p1', False)
nbp2 = AuiPanel(nb)
nb.AddPage(nbp2, 'Notebook - p2', False)
etc etc
Looking at the demo of dDockFrame and a little at the documentation I am
not sure that I can do this. I should probably just play with this
outside of datanav and see if I get to what I want and then see if I can
adapt datanav or create an alternative version of it (i.e. a different
datanav.Form and datanav.PageFrame
> Keep in mind that the datanav sub-framework was developed very early
> on, probably before the AUI stuff even existed.
Noted, and please don't think I am complaining about what it does - just
like it to do a bit more:-)
> While it is extensible (Paul does amazing things extending it), it is
> designed to work a certain way; once you go outside of that design, you will
> have to put in some work. My personal preference is to only use the
> AppWiz-generated stuff for quick data maintenance apps, and for anything
> else, start from scratch using dabo.quickStart() for the directory structure,
> and the visual tools for the UI.
In its current state it is not usable for a "user" type admin tool, but
I think the infrastructure is really nice and instead of redoing it all
I wouldn't mind to have a go at it to make it just that little bit more
usable (in my view;-) ).
What do I think that it needs to make it a bit more usable - i.e. to get
it to be a "user" type admin tool (at least for tables I call master
data, e.g. countries, code tables etc).
- split the bizobj generation, i.e. allow to generate just the bizobj's
and then be able to manually adapt them (define parent/child relations,
define the I18n texts for caption, helptext and tooltip)
- change that all the screens (selection, grid and edit pages) are
generated of the existing bizobj's, with an option to pick up existing
bizobj's instead of generating them during this run.
- enhance the screen generations to handle parent/child relations with
dropdowns and not raw FK's
If no one thinks this is enough of a step to make it more usable then I
will just try and do this for myself.
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]