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

Statusbar

 Post Reply Post Reply
Author
Message
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: Statusbar
    Posted: 29 December 2008 at 6:33pm
Hello,
How can I be able to change statusbar caption in the run time. For instance, the first panel is "Ready..." but when the application is loading data, I want the "Ready..." to change "Loading data, Please wait..." then when the data is loaded, the caption will become again "Ready..."

Code:

        Dim Pane As StatusBarPane
   
        Set StatusBar = CommandBars.StatusBar
   
        StatusBar.Visible = True
   
        Set Pane = StatusBar.AddPane(ID_BAR)
        Pane.Style = SBPS_STRETCH Or SBPS_NOBORDERS
        Pane.BeginGroup = True
        Pane.Text = "Ready..."

   
        StatusBar.AddPane ID_INDICATOR_CAPS
        StatusBar.AddPane ID_INDICATOR_NUM
        StatusBar.AddPane ID_INDICATOR_SCRL

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 December 2008 at 12:53am
Hi,
See StatusBar::Pane property.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.174 seconds.