Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 4th, 2003, 07:11 PM
Authorized User
 
Join Date: Jul 2003
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Tere
Default Status Bar question

Hi!!
I have a Status Bar on my form, I wan to change the color of the text, and put it on bold on execution time, is that posible?

Right know I used this code to change the text by code:
stsStatus.Panels(1).Text = "GENERANDO CAMBIO DE PRECIOS"

 
Old July 5th, 2003, 05:15 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

I am not 100% sure, but I don't think you can do that.
AFAIK, all you can do is set some font properties for the entire StatusBar, like this:

Code:
StatusBar1.Font.Bold = True
The Font property does have some sub properties like Bold and Weight, but not Color / ForeColor etc.

The only thing I can think of is to embed a picture on the panel, with the correctly formatted text on it.....

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Window.status Bar [email protected] C# 2005 6 January 9th, 2008 05:18 AM
Status Bar ironchef Java GUI 0 October 26th, 2006 09:19 PM
Change Status bar qazi_nomi HTML Code Clinic 1 July 10th, 2004 04:28 PM
Status Bar soccers_guy10 Pro VB.NET 2002/2003 3 August 12th, 2003 11:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.