Print Page | Close Window

Dispaly Date/Time Statusbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=12344
Printed Date: 06 November 2025 at 11:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dispaly Date/Time Statusbar
Posted By: scottmcd9999
Subject: Dispaly Date/Time Statusbar
Date Posted: 06 October 2008 at 9:06am
Can I display the Date and Time in a StatusBar Pane? I've looked through the samples but didn't find anything, also did a search of these forums.

-------------
SuitePro 2008 version 12.0.1, VB 6.0 SP6



Replies:
Posted By: briansweat
Date Posted: 08 December 2008 at 5:27pm
I'm also looking to show the date and time in our StatusBar and can't find it documented anywhere.

It seems like those should be supported considering the standard VB6 status bar contains the sbrDate and sbrTime "styles".


-------------
SuitePro 2008 version 12.1.0, VB 6.0 SP6

Brian Sweat
Alterity, Inc.
http://www.acctivate.com - www.acctivate.com
http://twitter.com/briansweat - twitter.com/briansweat


Posted By: evidica
Date Posted: 10 December 2008 at 4:41pm
Here is a C# example:

CommandBars.StatusBar[1].Text = String.Format("Current Date: {0}", DateTime.Now.ToShortDateString());


Posted By: briansweat
Date Posted: 26 December 2008 at 12:56pm
The Date and Time panes in the standard VB6 StatusBar update automatically.

Of course, I could use your approach with a Timer, but I'd much rather find the equivalent to the sbrDate and sbrTime constants on the standard Toolbar.


-------------
SuitePro 2008 version 12.1.0, VB 6.0 SP6

Brian Sweat
Alterity, Inc.
http://www.acctivate.com - www.acctivate.com
http://twitter.com/briansweat - twitter.com/briansweat



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net