Login

Login

Need to register? Lost password?

Options

Advertisements

Advertisements

 

Visual Basic 6.0: How to change a tab's color?

WebDev

Minitokyo » Computers & Internet Fora » WebDev  Visual Basic 6.0: How to change a tab's color?

page 1 of 1

Hi everyone! :)

Is there anyone among you, who knows how to code VB 6.0? Do you know how to change a tab's color? I searched everywhere on Visual Basic properties panel but the only thing that I found was the BackColor color and Fore Color. My friend told me I have to code something if I want to have a tab's color changed, but I don't have any clue about it. I wasn't able to find any source code on internet either -_- . There should be a solution to this, otherwise there won't be much option to design an interface if the only color is GRAY!.

Could you please help me with this?

Is it possible but you have to subclass the controls.
It's not so easy because you have to use the Windows API.
You can find more information about suclassing here >>> http://vbnet.mvps.org/index.html?code/subclass/index.html

page 1 of 1

Only members can post replies, please register.