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/formintabpage
Martin _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk