Spec for tab control PICTURE graphic

  • Thread starter Thread starter David
  • Start date Start date
D

David

Does anyone know the specs of the graphic for the PICTURE
property of a tab control.
I want to create a graphic for each tab and switch them
depending on whether the tab is selected or not.
 
You should be looking at the PictureData property. For sample code see:
http://www.lebans.com/tabcolors.htm
Tabs.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



History

Version 1.5

Fixed Bug under Windows NT or higher and Color depth set to 16 bits.
Tab. Added sample Form with minimum implementation code.

Version 1.4

Added code to auto select Tabs as user passes Mouse above the Tab. Final
adjustments to logic to size Bitmaps to exactly match preset dimensions
of Tab pages. Cleaned up code. Just need to remove a few more API
declares and the code is clean!

Version 1.2

Enhanced Color props. Cleaned code some more.

Version 1.1

Added Color props. Added Degree of rotation prop. Cleaned code.

Version 1.0

First release. Basic functionality.

--

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