August 14th, 2009 11:19 AM
#1
tabcontrols
I have a form that i want to have a tabControl on it....
I currently have it set to fill the page by the code tabControl1.Dock = DockStyle.Fill;
Problem that i have with it is basically it fills to much on the top.
I did find somthing that is supposed to work but it doesn't for some reason called Dockpadding
their code looked like label1.DockPadding Top = 10; But for some reason i can't see DockPadding in here or that code won't work. Can anyone help?
August 14th, 2009 12:05 PM
#2
Re: tabcontrols
The property is called "Padding", but you may not even need that. Just place your tab control inside of a panel and set DockStyle to fill. Now you can just re-size the panel and use it as a container. Either way will work.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width
Bookmarks