I want to hide form through button but from tabpage i want to hide see below.
i have show my form in tabepage but now i want to hide so how can i do this.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Shweta LodhaRank #31 · 39.8K reputationPosted Feb 8, 2016, 3:58 AM EST
Vivek KumarRank #272 · 9.3K reputationPosted Feb 8, 2016, 5:55 AM EST
Feroz KhanRank #3,748 · 395 reputationPosted Feb 8, 2016, 7:23 AM EST
Amit Kumar SinghRank #562 · 4.3K reputationPosted Feb 8, 2016, 9:02 AM EST
TabPage controls are constrained by their container, so some of the properties inherited from the Control base class will have no effect, including Top, Height, Left, Width, Show, and Hide.
The tabs in a TabControl are part of the TabControl but not parts of the individual TabPage controls. Members of the TabPage class, such as the ForeColor property, affect only the client rectangle of the tab page, but not the tabs. Additionally, the Hide method of the TabPage will not hide the tab. To hide the tab, you must remove the TabPage control from the TabControl.TabPages collection.
theLizardRank #1,079 · 1.8K reputationPosted Feb 8, 2016, 1:19 PM EST