![]() |
Dispaly Date/Time Statusbar |
Post Reply
|
| Author | |
scottmcd9999
Newbie
Joined: 30 November 2006 Location: United States Status: Offline Points: 6 |
Post Options
Thanks(0)
Quote Reply
Topic: Dispaly Date/Time StatusbarPosted: 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
|
|
![]() |
|
briansweat
Groupie
Joined: 04 December 2007 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
evidica
Newbie
Joined: 31 March 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 December 2008 at 4:41pm |
|
Here is a C# example:
CommandBars.StatusBar[1].Text = String.Format("Current Date: {0}", DateTime.Now.ToShortDateString()); |
|
![]() |
|
briansweat
Groupie
Joined: 04 December 2007 Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |