473,378 Members | 1,436 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,378 software developers and data experts.

Fix to White Tab Controls in Access 2003?

Hello,
Is there a fix to the Access 2003 problem that makes the tab controls
white? I am confused - I have only seen a couple of posts about this
on various websites. Have others figured out a way to bypass this? Am
I doing something wrong?

I am using Access 2003 on Windows xp. I have a form with multiple
tabs. All the tabs are white - they look horrible. I am embarrassed
to present this to my users. The only thing that gets rid of the white
is to turn XP Themes off. BUT - then the forms don't look as good in
other ways.

When I look at forms on CD's that came with several books I have, they
are ok. When I delete and add back on those forms, they are still ok.
Does it depend on how the forms are created? What am I doing wrong on
my own forms?

Please help - I am tearing my hair out over this one!

Lori

Nov 13 '05 #1
5 2049
No, I haven't tried changing from the Tabs property. I guess I will
have to do this, as a last resort.
Thank you for the info,
Lori

Nov 13 '05 #2
Hi Justin,
It has been awhile, but I am just now trying to change the style
property from 'Tabs' to 'None', after exhausting all other options.
Can you point me in a direction that explains steo by step how do do
tab controls programmatically? I changed style from Tabs to None. I
added a rectangle to Tab #1, and that got rid of the white background,
and looks great. I made labels to replace the tops of my 6 tabs.

Not sure what else to do now. What do I do with the controls on all my
6 tabs? How do I get the 'tabs' to work?

Thanks,
frustrated Microsoft user
ps - does anyone out there use Access 2003 with win XP? are all YOUR
tab controls white, or am I doing something wrong?

Nov 13 '05 #3

"lorirobn" <lo******@yahoo.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
Hi Justin,
It has been awhile, but I am just now trying to change the style
property from 'Tabs' to 'None', after exhausting all other options.
Can you point me in a direction that explains steo by step how do do
tab controls programmatically? I changed style from Tabs to None. I
added a rectangle to Tab #1, and that got rid of the white background,
and looks great. I made labels to replace the tops of my 6 tabs.

Not sure what else to do now. What do I do with the controls on all my
6 tabs? How do I get the 'tabs' to work?

Thanks,
frustrated Microsoft user
ps - does anyone out there use Access 2003 with win XP? are all YOUR
tab controls white, or am I doing something wrong?


Imagine you have a tab control named ctlTab with two rectangles (your 'fake
tabs') named recTabOne and recTabTwo. In your code module you would have
the following:

' --Code Start
Private Sub SelectTab(TabNumber As Long)

On Error GoTo Err_Handler

Me.ctlTab.Value = TabNumber - 1

Exit_Handler:
Exit Sub

Err_Handler:
MsgBox Err.Description, vbExclamation, "Error No: " & Err.Number
Resume Exit_Handler

End Sub

Private Sub recTabOne_Click()
SelectTab 1
End Sub

Private Sub recTabTwo_Click()
SelectTab 2
End Sub
' --Code End
Note that while you are designing your form you could leave the style as
'Tabs' to enable you to select them easily - only switch the style to 'None'
when you have finished changing the layout. This makes it more convenient
to switch between tabs but you could also do this programatically when in
design view. Press ctrl-g to get the immediate window and type in, say,
Forms!MyForm.ctlTab.Value=1 which would select the second tab (the index is
zero-based).

As another possibilty is to have a look at http://www.lebans.com where there
is code to customize the standard tab colours. However, I have not used
this myself.

HTH
Nov 13 '05 #4
Justin,
This is great - thank you so much!
I somehow was able to come up with a solution, after reading your
response, trying what you suggested, and then playing around with the
tabs some more. I ended up being able to put back the 'tab' style, and
then, to each white tab page, I added a large grey rectangle over the
whole page and then 'moved to background'. This rectangle overlaid the
white tab page that I couldn't get rid of!

I can't believe it was that simple... after so many weeks of going
batty from this.
Thank you sooooo much for your help. I never would have gotten this
without it.

Lori

Nov 13 '05 #5

"lorirobn" <lo******@yahoo.com> wrote in message
news:11*********************@g14g2000cwa.googlegro ups.com...
Justin,
This is great - thank you so much!
I somehow was able to come up with a solution, after reading your
response, trying what you suggested, and then playing around with the
tabs some more. I ended up being able to put back the 'tab' style, and
then, to each white tab page, I added a large grey rectangle over the
whole page and then 'moved to background'. This rectangle overlaid the
white tab page that I couldn't get rid of!

I can't believe it was that simple... after so many weeks of going
batty from this.
Thank you sooooo much for your help. I never would have gotten this
without it.

Lori

I'm glad it worked - and thanks for the feedback. Often you never find out
whether anyone even read your suggestion, let alone used it successfully.
It's the responses like yours that keep people like me posting!

Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kenneth Courville | last post by:
Hello, This problem has been a little unusual for me. I have an Access database, and, on several forms, I've seen this issue occur wotj listbox and combobox controls. Basically, I'm just...
5
by: john | last post by:
I searched http://www.sellsbrothers.com. and could not find anything about this subject. How do I make C# User Controls Visible to Visual Basic 6.0 Applications? Thanks, John
3
by: Prince | last post by:
I have some <RequiredFieldValidator> on my page and everything works fine except that there are lots of white spaces between the web server controls that are being validated. I've set the Display...
11
by: Dennis D. | last post by:
Back a few decades the proper way to learn a language began with a white paper. Do they exist for dot net, or would a person begin by studying the compiler specs? Guess what I'm asking is: Where...
3
by: google | last post by:
I'm developing an application for use within my company in Access 2003. I'm new to '03, the application I did for my former employer was in '97. The two applications have similar functionality...
3
by: Steven | last post by:
Hi, There are a lot of white space inside each table field after getting Access DB created with importation from excel file. Then the table and forms/reports are looking bad. Is there a way...
4
by: Don Miller | last post by:
When an ASP.NET 2.0 web page is rendered with multiple web controls hidden from view (.visible=false) there is a noticeable gap between a rendered element (like a table) and the next visible...
1
bAllzACK
by: bAllzACK | last post by:
I have developed a MS Access 2003 DB for a housing window manufacturer and am using a Rectangle control to graphically represent windows for houses. The rectangle controls can be mouse clicked by the...
6
by: Tony Toews [MVP] | last post by:
"Combo box controls and list box controls display no value or incorrect values in Access 2003 after you install Office 2003 Service Pack 3." And a few more problems SP3 introduced. Description...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.