Print Page | Close Window

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=13037
Printed Date: 07 October 2024 at 8:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Statusbar
Posted By: moe188
Subject: Statusbar
Date 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




Replies:
Posted By: Oleg
Date Posted: 30 December 2008 at 12:53am
Hi,
See StatusBar::Pane property.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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