Statusbar Updates/refresh NOT happening |
Post Reply |
Author | |
Ashm01
Newbie Joined: 21 December 2004 Status: Offline Points: 8 |
Post Options
Thanks(0)
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 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,
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
First parameter of SetPaneText and SetPaneWidth is Index, not Id.
StatusBar.SetPaneText 2, "Name: XYZ" |
|
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 |