Print Page | Close Window

Statusbar Updates/refresh NOT happening

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=1626
Printed Date: 22 June 2025 at 12:45pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Statusbar Updates/refresh NOT happening
Posted By: Ashm01
Subject: Statusbar Updates/refresh NOT happening
Date Posted: 05 January 2005 at 10:12pm

Hi,

I  am using the statusbar from the Commandbars and was able to create panes successfully!However, changing the text on those panes is a different story.

I need a few custom panes on my statusbar and want them to be refreshed on demand.

I added the following:

Global Const ID_CUSTOM_PANE2 = 302 in a module

StatusBar.AddPane ID_CUSTOM_PANE2 
StatusBar.SetPaneStyle ID_CUSTOM_PANE2, SBPS_STRETCH
StatusBar.SetPaneText ID_CUSTOM_PANE2, "Name: XYZ"

I tried doing the following and was unsucessful...

frmmain.CommandBars.StatusBar.SetPaneText ID_CUSTOM_PANE2,"Name: To be updated!!!!"

Is there an refresh method for the statusbar??? Are you going to support a better statusbar in the newer versions which supports Icons, custom controls, themes etc.???

Regards,


Ash

 




Replies:
Posted By: SuperMario
Date Posted: 06 January 2005 at 7:35am
First parameter of SetPaneText and SetPaneWidth is Index, not Id.
    StatusBar.SetPaneText 2, "Name: XYZ"



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