Try with with  subform loaded at runtime. I think there is a difference or I am 
wrong ?

Med.
________________________________
De : Patrick Goupell <[email protected]>
Envoyé : lundi 22 octobre 2018 20:54
À : [email protected]
Objet : Re: [MSEide-MSEgui-talk] Tabs



On 10/22/18 1:27 PM, mohamed hamza wrote:
How to show the first page just after creating tabwidget?

I tried :

procedure tbasetabsfo.Oncreated(const sender: TObject);
begin
ttabwidget1.ActivePageIndex:=0;
ttabwidget1[0].show();
//////  >>ttabwidget[0].activate()  no success?
end;

Med.

Ps  :Sorry if this has been covered before but is is difficult to search
inside text of threads?




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


in the object inspector click on the ttabwidget, press F11, set the 
activepageindex to 0
or in the oncreated event set the ttabwidget.activepageindex := 0;

should do it.

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

Reply via email to