Thanks, now i understand the difference from dFormMain and dForm but
please be patient but i haven't understand how to "design" my
application with dabo.

Imagine to have firefox open with three tabs. Each of them can shows
data from different tables (but it can happen that two pages uses the
same tables).
I think i should have three dForm each for every dPanel; is it right ?

RIght now the startup script of my app starts a dForm and in the dForm
i create the pageFrame
with three tabs but in this way i have to add all the bizobjs used by
my application in a single dForm.
Is it a correct approach ? A dForm can have single primary bizobj so
in this way i have to switch
the primary bizobj when i change tab but i don't think it is a correct
approach. It seems a dirty way.

But how i can have three dForm one for each dPanel ?
If the tab i display is a (in sense of IS-A relationship) dPanel can i
have an (HAS-A) relationship with a dForm inside the dPanel.
I tried this way here:
http://pastebin.com/m1966b047

(the dForm is at row 21) but i have some strange behaviour. When i
press "save" in debug all it seems ok but the record isn't added to
the grid neither in the table. However it seems that dForm was born to
be extended, or at least or the examples i've seen are built in this
way.

I'm in need to extend dPanel for adding a tab in a dPageFrame but also
i want to extend a dForm for a data-aware gui.

Is it something wrong with my approach ?
How i have to proceed ?

Thanks for any help and sorry for nuisance ^^
Emanuele

On Mon, Jan 11, 2010 at 3:04 PM, Paul McNett <[email protected]> wrote:
> Emanuele Gesuato wrote:
>> Yes, i've tried it but dFormMain seems lacking in the addBizobj method.
>
> dFormMain isn't based on dForm. dForm has all the bizobj-awareness. dFormMain 
> isn't
> meant to be populated very much - it is just meant to be the background form 
> on top
> of which other forms in the MDI application get contained.
>
> I think you want to be using dForm instead of dFormMain.
>
> Paul
>
> _______________________________________________
> 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]
>
_______________________________________________
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]

Reply via email to