Tab Controls

  • Thread starter Thread starter Ed Handley
  • Start date Start date
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top