Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Dispaly Date/Time Statusbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dispaly Date/Time Statusbar

 Post Reply Post Reply
Author
Message
scottmcd9999 View Drop Down
Newbie
Newbie


Joined: 30 November 2006
Location: United States
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote scottmcd9999 Quote  Post ReplyReply Direct Link To This Post Topic: Dispaly Date/Time Statusbar
    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
Back to Top
briansweat View Drop Down
Groupie
Groupie


Joined: 04 December 2007
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote briansweat Quote  Post ReplyReply Direct Link To This Post 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.
www.acctivate.com
twitter.com/briansweat
Back to Top
evidica View Drop Down
Newbie
Newbie
Avatar

Joined: 31 March 2008
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote evidica Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2008 at 4:41pm
Here is a C# example:

CommandBars.StatusBar[1].Text = String.Format("Current Date: {0}", DateTime.Now.ToShortDateString());
Back to Top
briansweat View Drop Down
Groupie
Groupie


Joined: 04 December 2007
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote briansweat Quote  Post ReplyReply Direct Link To This Post 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.
www.acctivate.com
twitter.com/briansweat
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.