Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

statusbar1

Status
Not open for further replies.

perlone

Programmer
May 20, 2001
438
US
Hello,

For statusbar1 panel index #2, I have getTime for the text property. I want to display the time when the Form_Loads. I tried the following but no sucess:

Private Sub Form_Load()
Dim getTime as string
getTime = "Test"

End Sub

Anybody can help? Thank you for your time. There is no Knowledge that is not power.
Age: 17
E-mail: projectnet01@yahoo.com
Company:(not done yet) :)
Status: Currently working with C++ for game developing. And making a musical band.
-Aaron
 
add

StatusBar1.Panels(2).Text = gettime



or alternatively you could just use

StatusBar1.panels(2).Style = sbrTime
 
When yuo set a pannel to show time(from custom dialog box),it would automaticaly displays time and no more code needs. Behnam2204@yahoo.com
BehnamPro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top