Tabbed form color change?

S

Sandra

Is it possible to change the color of a tabbed form from
the default grey to some other color or background?

TIA, Sandra
 
A

Arvin Meyer

Sandra said:
Is it possible to change the color of a tabbed form from
the default grey to some other color or background?

You can use bitmaps to change the color. Even better, I use labels, which
can have any color I want. I set a colored rectangle behind the tab control
and set the Tab control to Transparent with NO buttons. I use "hover button"
labels as in the example on my website:

http://www.datastrat.com/Download/MouseMove.zip

You use the "buttons" to change pages which are indexed from 0 (zero), so
the code looks like:

Sub lblHoverButton1_Click(Cancel As Integer)
Me.Tab1 = 0
End Sub

Sub lblHoverButton2_Click(Cancel As Integer)
Me.Tab1 = 1
End Sub

etc.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

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

Top