On Friday 06 July 2018 18:08:44 mohamed hamza wrote:
> Yes I have the same  structure as you defined. But
>
> dataSource1,dataSource2,...,dataSourceN are in DataModule.
> dataset1,dataset2,...datasetN  are also in that DataModule.
>
Why do you need code in OnActivate? It should not be necessary.
Important is that you create the datamodule by application.createdatamodule() 
so it will be registered in order the DB-widgets in the forms can find the 
linked components.

>
> For which purpose?
>
>
> I use tsimpleWidget as container of  all dbedit. The frame have to change
> color when activated.
>
I would use tgroupbox.

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to