Tab Controls

E

Ed Handley

I'm just trying to save myself some controls on a form, and I was
wondering if it is possible to change the text colour or background
colour of the caption on a tab control in Access 2000?

Thanks in advance,

Ed Handley
 
A

Aaron G

Ed,

You can change the background color of the tab control, but I believe you
are stuck with the actual tabs. There is a way to get rid of them and make
it nicer though. I just did this myself...

Go to the properties of the tab control. For the Style (under the format
tab) select "none". The tabs will disappear. Now you just have to create
little buttons/links/whatever and create an OnClick event that selects the
tab. Here's a quick snipet of code for selecting the first tab on your
control.

Private Sub btnFirstTabExample_Click()

Me.TabControl.Value = 0

End Sub

That's it! The nice thing about this is you can give it any look you want.

HTH

Aaron G
Philadelphia, PA
 
Top