hi
how do i display a form in a tab page?
as im new, cld u pls teach me in v simple terms..
thkz
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Andrzej WegierskiPosted Aug 3, 2005, 2:45 AM
An example:
private Form fpom;//declaration
this.fPom=new Form();//in constructor
this.fPom.ControlBox=false;
this.fPom.ShowInTaskbar=false; this.fPom.StartPosition=FormStartPosition.Manual;
this.fPom.FormBorderStyle=FormBorderStyle.FixedToolWindow;
this.fPom.Deactivate += new EventHandler(this.fPom_Close);//create this method!
this.fPom.TopMost=true;//displaying
this.fPom.Show();
this.fPom.Location=...;
this.fPom.myControl_on_form.Focus();