Hello,
Is it possible to hide (or at least Disable) tabpages in a tabcontrol?
tabControl1.TabPages[1].Enabled = false;
tabControl1.TabPages[1].Visible= false;
tabControl1.TabPages[1].Width= 0;
Nothing seems to do the job.
Any idea?
Hi Ricardo,
TabPages[n].Enable = false disables all controls on that tab page but still makes the page selectable.
The command you are searching for is TabPages[n].Hide(). But it seems there is a regression here.
I will log an issue and keep you updated.
Best regards
Frank
Sorry, my fault.
The property is called Hidden and it´s working fine:
TabPages[n].Hidden = true | false
Best regards
Frank
Please login first to submit.