473,395 Members | 1,466 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

The tab control on my form is transparent

sueb
379 256MB
I'm trying to use a tab control on this sprawling form to make sensible groupings of fields. I'm able to create the control, and the tabs, but the "filling" (I don't really know what it's called) is transparent (I can see the form's background through a "hole" in the tab control's outline; it doesn't really seem to create separate layers for each tab. I looked all around in the various properties but couldn't find anyplace that controlled the color or transparency or ANYthing about the tab layers.

Where/how do I fix this?
Sep 24 '10 #1

✓ answered by OldBirdman

BackStyle is the word for the transparency/opaque characteristic of some controls, including tab controls.

In design view, click the entire tab control, not an individual tab. 'Handles' (those little black squares to resize controls) should be at the extreme edges & corners, not slightly inside the control. A good place to click is the top where no tabs stick up into the header space. In the properties window, Format tab, change BackStyle to 'Normal'.

Sometimes a control that is on a tab appears to be on all tabs. This can happen if the control is not on any tab, but is behind the tab control. This can be useful if a control actually should be on all tabs. A command button captioned "Clear This Tab" could be a single control and appear to be on all the tab pages.

To fix this, 1) In design view move the tab control and see what is on the form behind the tab control. If it doesn't belong, move it out from under. If it belongs and should show on all pages, click it, then click "Format" on the menu bar and then "Bring to Front".
2) For those controls you dragged out from under the tab control, they have to be pasted onto the tab page, NOT DRAGGED. Select a control, then Edit->Delete (or Cntl-X). Select the tab page you want the just deleted control on. Now Edit->Paste (or Cntl-V). Position the control on the tab page. Drag will work fine now.
3) Repeat for any other controls

Hope this helps.

2 5323
OldBirdman
675 512MB
BackStyle is the word for the transparency/opaque characteristic of some controls, including tab controls.

In design view, click the entire tab control, not an individual tab. 'Handles' (those little black squares to resize controls) should be at the extreme edges & corners, not slightly inside the control. A good place to click is the top where no tabs stick up into the header space. In the properties window, Format tab, change BackStyle to 'Normal'.

Sometimes a control that is on a tab appears to be on all tabs. This can happen if the control is not on any tab, but is behind the tab control. This can be useful if a control actually should be on all tabs. A command button captioned "Clear This Tab" could be a single control and appear to be on all the tab pages.

To fix this, 1) In design view move the tab control and see what is on the form behind the tab control. If it doesn't belong, move it out from under. If it belongs and should show on all pages, click it, then click "Format" on the menu bar and then "Bring to Front".
2) For those controls you dragged out from under the tab control, they have to be pasted onto the tab page, NOT DRAGGED. Select a control, then Edit->Delete (or Cntl-X). Select the tab page you want the just deleted control on. Now Edit->Paste (or Cntl-V). Position the control on the tab page. Drag will work fine now.
3) Repeat for any other controls

Hope this helps.
Sep 24 '10 #2
sueb
379 256MB
Wow, thanks for this reply! I found the Backstyle property just fine, and I was completely dumfounded by your telling me that dragging WOULD NOT WORK! I mean... WHAT??? So, thanks a MILLION for that tip; I would have NEVER guessed that little trap!

Thanks again!
Sep 24 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Tom | last post by:
why doesn't user control support transparent ? even after you programmatically make it transparent the controls that you add on it still doesn't transparency where they normally would in a winform...
4
by: Nad | last post by:
Hello, I have a user control that has a button and a Calendar. Once you click on the button I display the calendar. Now when I move this user control to a web form, once I click on this button...
5
by: Juan Romero | last post by:
Hey guys, Does anyoone know how to make a control with transparent background? This is what I have so far and it doesn't work: Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True)...
2
by: david.boone | last post by:
Hello, I am trying to enable controls based on the value of a checkbox, i.e. if value = true then enable. I have a tab control form with controls on 4 tabs. I have some code (below) on the...
0
by: Filippo Bettinaglio | last post by:
hi, I have developed a window control form in C sharp 2005, I can use the component in other .exe applications (just keeping the two project in the same solution group file) but I cannot use it...
0
by: Martijn Mulder | last post by:
How can I give my custom System.Windows.Forms.Control a transparent background? In the small application below I expect to see two partially overlapping circles, a blue one and a red one, but only...
2
by: TerryStone | last post by:
I have created a control that displays a list of items. During design mode I fill it with junk data using calls from the constructor. So when I look at a form with the control on, instead of...
4
by: google | last post by:
My app uses a tab control created in Access 97 and converted to Access 2000 format for clients who have Access 2000, 2003 and 2007. Being created in 97, the control does not have a...
1
by: santanumukherjee | last post by:
How to make a form transparent in VB6.0 ?
0
by: GeoffT | last post by:
I have encountered a problem with the data that is displayed in the list boxes that are located on a tab control access form (2003 version). This form uses several combo boxes as filters (After...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.