Tab Control Page Height Property

G

Guest

Hello,

I am using a Tab Control and moving a set of fields/labels into the Page
section of each tab. I am finding that each Page is 'forced' to be the same
Height) as the tallest Page? I would like to be able to shrink/expand each
Page to fit the size of the group of controls I move into it. Is this
possible?

Also, I saw a terrific example (
http://www.datapigtechnologies.com/flashfiles/coloredtabs.html) of adding
color to tabs (which cannot be done to the individual Pages of the Tab
Control), but I am moving a group of fields/field labels into each Page
section of the Tab Control. I am not moving a single control in, as is done
in the example, so I can't tie the 'On Click:' Event of the text boxes to
anything, so that when one clicks on the Text Box, a certain group of
controls is shown. Any ideas here would be great in getting around the
'no-color- issue when using a Tab Control.

Thanks, Patrick
 
S

Stephen Lebans

AFAIK the Invdivudal pages have to be the same size and frankly this is the
accepted practice within the WIndows environment.

To color the individual TAB pages see:
http://www.lebans.com/tabcolors.htm
bs.zip is an MDB containing a class to enhance the standard Access TAB
control in order to allow for:
1) Tabs of any color

2) Rotated Text

Notes:

You must set the Tab controls TAB Fixed Height and Width properties

You must set the Individual Tab pages TAG property to whatever color value
you desire.



History

Version 1.6

Added support to allow for the coloring of just the Current/Active TABS and
not the background of the Tab control
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

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

Similar Threads


Top