Print Page | Close Window

CommandBars cause StatusBar disappearance

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=1276
Printed Date: 12 December 2024 at 4:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CommandBars cause StatusBar disappearance
Posted By: dajv
Subject: CommandBars cause StatusBar disappearance
Date 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



Replies:
Posted By: SuperMario
Date Posted: 13 October 2004 at 7:04am
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.


Posted By: dajv
Date Posted: 13 October 2004 at 6:45pm
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:

   



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