Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tab Control Problem???

Status
Not open for further replies.

sp76

Programmer
Jul 1, 2003
59
AU
This might sound funny, but this is what is happening:

I have a form with a tab control (tabMain) and 4 tabpages (tpage1, tpage2, tpage3, tpage4) on it. Further on the fourth tabpage (tpage4) i have another tab control (tabSub) with 4 tabpages (tsubpage1, tsubpage2, tsubpage3, tsubpage4) on it.

In the designer mode when click on tsubpage3 or tsubpage4 and close the form, it throws this error "InvalidOperstionException. Cannot call invoke or InvokeAsync on a control until the window handle has been created."

There's no code written so far, i am still desiging the form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top