The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Coders Corner

Reply
 
Thread Tools Display Modes
Old 12-29-2005, 05:36 PM   #1
Variable Bitrate
warnockm's CarPC Specs
 
warnockm's Avatar
 
Join Date: Jun 2004
Location: Virginia
Vehicle: 2002 Subaru WRX
Posts: 423
My Photos: (11)
vb.net - tab control background color

this is the first time i've seen the developer message board. i know there are a lot of good developers on here, so i thought i'd ask as question or two. I currently working on skin support for my weather program. I've added images to the buttoms and the ability to change text and background color. However, i can't seem to change the options on the part of the tab control that doesn't have tabs on it. i attached the screenshot w/ a red "X" where i'm having the problems. I've tried changing the tabcontrol.backcolor, each tabpage.backcolor, but while these change the backgrounds of the tabs, it does not change the background color of this area.

any ideas?
Attached Images
 
__________________
Progress - VIA EPIA SP8000 | 120 Opus Power Supply & Case | 1GB Ram | 120GB 2.5" Hard Drive | Bluetooth 2.0 | GPRS/3G | Wifi | Road Runner/LSX 2.0 (waiting for a day skin for 3.0) | iGuidance 4.0 | Lilliput 7"
warnockm is offline   Reply With Quote
Sponsored Links
Old 01-10-2006, 08:13 AM   #2
lbk
Low Bitrate
 
Join Date: Feb 2003
Location: Chicago
Vehicle: 02' Mazda Protege5
Posts: 87
My Photos: (0)
The built in control gives you no way to do it. You could either build your own tab control, maybe even inherit from the built in one, or try searching for someone else's tab control. There are plenty of them out there, infragistics has one, but not sure how expensive their lowest end package is that includes it.
lbk is offline   Reply With Quote
Old 05-12-2006, 11:53 PM   #3
Newbie
 
Join Date: May 2006
Vehicle: 2004 / Volkswagen / R32
Posts: 5
My Photos: (0)
Quote: Originally Posted by lbk
The built in control gives you no way to do it. You could either build your own tab control, maybe even inherit from the built in one, or try searching for someone else's tab control. There are plenty of them out there, infragistics has one, but not sure how expensive their lowest end package is that includes it.

Another option is this tab control. I have used it in a a few of my projects. It just extends the standard tab control.
skrewdlude is offline   Reply With Quote
Old 06-10-2006, 02:33 AM   #4
Constant Bitrate
Ineffigy's CarPC Specs
 
Join Date: Apr 2006
Location: Dallas, Texas
Vehicle: 2005 Toyota Celica GTS 6
Posts: 222
My Photos: (0)
You can customize the background color of the tabs by using owner drawn tabs. While this gives you amazing flexability in what you want to do with the control, it also involves a bit more coding just to change the background color.
Ineffigy is offline   Reply With Quote
Old 06-13-2006, 09:24 AM   #5
Newbie
 
Join Date: Jun 2006
Location: Louisville, KY
Vehicle: 1960 Cadillac Hearse
Posts: 6
My Photos: (0)
It appears you've got images in your tab headings is that correct?

If so, just swap the image for one with the correct colored background from a resource file, or other form. I'd make it an array of image controls, ie: Tab1(0).picture = not selected and Tab1(1).picture = selected.

That way you can just update the image with currenttab.picture = tab1(selected).picture
13bats is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pinout Color Codes / Tables gummybear General Hardware Discussion 4 05-12-2005 03:05 AM
AC97 Control Panel Switcher Program (could be useful for many) Vinister Software & Software Development 0 02-02-2005 03:50 PM
change color of windows startup background? aoLhaTer Software & Software Development 10 06-17-2004 10:16 AM
Kenwood KDC-W6527 radio CD/MP3/WMA receiver & remote control chewiee Car Audio 3 05-26-2004 04:08 AM
My hardware/Software computer control system - Wish list/feedback - Easy power off DarkWolf General Hardware Discussion 22 08-13-2001 01:42 PM


All times are GMT -5. The time now is 11:32 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics