ironfistchamp
Active member
- Joined
- Dec 9, 2005
- Messages
- 29
- Programming Experience
- Beginner
Hi people another problem with my tabbed program.
Here we go. I have a tab control that has tabs created dynamically. It automatically starts with one tab that has a rtb (rich text box in it). I have the padding set to 3 all around it. That works fine as the rtb (dockstyle.fill) has a small bit of grey around it which looks good. However all tab pages that are created dynamically dont seem to have any padding even though I specify that it should have. I have ried different coding methods and rearranging the code.
I really don't know how I can get it so the new tabs have padding. Can anyone help. Maybe there is some way I can copy all the propeties from the original tab (barring name and other unique properties).
Anyone?
Thanks
Ironfistchamp
Here we go. I have a tab control that has tabs created dynamically. It automatically starts with one tab that has a rtb (rich text box in it). I have the padding set to 3 all around it. That works fine as the rtb (dockstyle.fill) has a small bit of grey around it which looks good. However all tab pages that are created dynamically dont seem to have any padding even though I specify that it should have. I have ried different coding methods and rearranging the code.
I really don't know how I can get it so the new tabs have padding. Can anyone help. Maybe there is some way I can copy all the propeties from the original tab (barring name and other unique properties).
Anyone?
Thanks
Ironfistchamp