CommandBars cause StatusBar disappearance |
Post Reply |
Author | |
dajv
Groupie Joined: 27 July 2004 Location: Australia Status: Offline Points: 80 |
Post Options
Thanks(0)
Posted: 13 October 2004 at 12:55am |
Gday,
Has anyone else experienced the phenomenon of the CommandBars control hiding a VB statusbar at runtime? I've been unable to reproduce it in the Codejock sample projects by adding a VB statusbar (ie it doesn't end up hidden at runtime despite the presence of a CommandBars control on the form) - however in our main development project the CommandBars object hides the VB StatusBar control. Removing the CommandBars control stops the VB statusbar control from being hidden at runtime. I have found that if i do this: xcbCommandBars.StatusBar.Visible = True then the VB StatusBar shows up. If I then hide the VB StatusBar control then I can see the CommandBars statusbar underneath. Is this a known issue or am I doing something wrong? Any advice is appreciated. Thanks |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Private Sub CommandBars_GetClientBordersWidth(Left As Long, Top As Long, Right As Long, Bottom As Long)
If sbStatusBar.Visible Then Bottom = sbStatusBar.Height End If End Sub (The VB statusbar is named sbStatusBar) You don't need this code if using the Codejock statusbar. Edited by SuperMario |
|
dajv
Groupie Joined: 27 July 2004 Location: Australia Status: Offline Points: 80 |
Post Options
Thanks(0)
|
Thanks for that.
I'm not using the Codejock statusbar because I need to put images in it. By the way, are there plans to make the Codejock statusbar have the new Outlook theme? As in: |
|
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 |