954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

VB6 Toolbar Button Caption FONT

Hello . I have a toolbar in my application . IT display image and text in english. Now i want to change the font family of the font. For example the font is ARIAL and i want to convert it to a new font(ex HINDU) that i have installed in my PC. How can I do this ?

eniine
Newbie Poster
5 posts since Aug 2010
Reputation Points: 10
Solved Threads: 0
 

I think that should be available under property pallet of the toolbar control.

debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
 

Actually, that property is not exposed at design time. It's not even exposed at run-time unless you use direct WinAPI calls (good luck with that). That's the disadvantage of using some of the packaged controls...you get what you get.

As an alternative, you might consider just using an unbordered picturebox control as a container and add your own command buttons. You have more flexibility to control the characteristics of the buttons but you also have to code the event procedures for each button individually.

Hope this helps.

BitBlt
Master Poster
711 posts since Feb 2011
Reputation Points: 367
Solved Threads: 109
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: