Suppose we have 2  grids inside teditpage1  and we want to change dso.dataset 
according to the grid
we  selected.
we  create event in baseeditpagefo

Onenter:
dataso.dataset:=tdbstringgrid(sender).datalink.datasource.dataset;

this assignment is not considered  in baseeditfo.dataso :
We keep the dataset that we have loaded with submodule?

Med
________________________________
De : mohamed hamza <[email protected]>
Envoyé : dimanche 14 octobre 2018 09:41
À : General list for MSEide+MSEgui
Objet : Re: [MSEide-MSEgui-talk] Variable scoping;

Well done . Really your example must  be referenced in google database under 
the keyword:

Creating Dynamic Form using  MseIde Msegui  Or  in mseide-msegui-talk with an 
other thread : Variable scoping is not appropriate.

Best Regards.

Med


________________________________
De : Martin Schreiber <[email protected]>
Envoyé : dimanche 14 octobre 2018 09:26
À : [email protected]
Objet : Re: [MSEide-MSEgui-talk] Variable scoping;

On Sunday 14 October 2018 10:57:54 Martin Schreiber wrote:
> On Saturday 13 October 2018 17:04:15 mohamed hamza wrote:
> > Is it better  to  create a tabwidget  in mainform and working with
> > ongetsubform event .Then I do not have to create window and freei it. The
> > Rad do it for me?
> >
> > Oncreate Mainform()
> >
> > ttabpage1.tago:=(f_11);
> > .....
> > ttabpagen.tagpo:=(f_nn);
> >
> > OngetSubForm()
> > submoduleclass:=widgetclassty(ttabpage(sender).tag);
> >
> > So  application.create(tfn,fn) is eliminated?  and also to free it
>
> Yes, an example is here:
> https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/forms/form
>intabpage
>
Needs MSEide+MSEgui current git master version.

Martin




_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to