Tab Controls

M

MChrist

Does anyone have any suggestions or tips on how to improve the tab control in
Access. I would like to change the Font for the tab pages and the background
from the dull gray to something else.
 
H

Hermawih

hi ,

A. Changing Font .
1. Select your tab control and goto format
2. You could select property Font you want to change : Name,size,weight
, italic , underline .
B. Backgound . There is not any built in property for that .
The easiest way is using label or text box control for replacing the tab .

Before you do these things , put any control you want on the tab pages .
1. Select your tab control and goto tab format .
2. Style : tranparent .
3. Back Style : transparent .
4. After you do that then you loose tab control because you can not see
it .
5. Create several label : label1 = page1, label2=page2 , etc ...
6. Create on click event for label1 , label2 . This click event is for
showing pages that is hidden because of back style property is set =
transparant .
7. But now you lost the effect like command button or pages button has
(down-up effect )
8. You have to set specialeffect (flat =0;raised=1;sunken=1...) on your
label click event to have "down-up" effect .

Probably someone has better way by using API ??
 
S

Steve Schapel

MChrist,

You can set the font of the tabs on a tab control to whatever you want,
using the Font Name, Font Size, etc properties of the tab control, or
else from the formatting toolbar.

As for the background colours, one approach is to use a coloured
Rectangle control. You can either put one of these on each tab page, or
you can put one on the form "behind" the tab control and set the tab
control's Back Style property to Transparent.

Otherwise, you may be interested in this...
http://www.lebans.com/tabcolors.htm
 
H

Hermawih

Thanks Steve .

I used to change the tab pages by label/textbox/Rectangle and manipulate
special effect on that control .

Since you mentioned http://www.lebans.com/tabcolors.htm , I need to check
it myself . Once in a while I visited that web pages but I have missed that
A97TabsVer16.zip . I have downloaded it and I will try it .
 
M

MChrist

Thanks for the help guys.

Mark

Hermawih said:
Thanks Steve .

I used to change the tab pages by label/textbox/Rectangle and manipulate
special effect on that control .

Since you mentioned http://www.lebans.com/tabcolors.htm , I need to check
it myself . Once in a while I visited that web pages but I have missed that
A97TabsVer16.zip . I have downloaded it and I will try it .
 
Top