Print Page | Close Window

SOLVED: StatusBar Problem

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


Topic: SOLVED: StatusBar Problem
Posted By: McKloony
Subject: SOLVED: StatusBar Problem
Date Posted: 16 April 2009 at 6:21am
I want to use the events of the StatusBar (SwitchPaneClick of example). In Form A everything works fine, but in Form B I'm not able to use this events, I Set: Private WithEvents StatusBar1 As XtremeCommandBars.StatusBar. Because both forms are similar identical I have no idea what can be wrong.

-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



Replies:
Posted By: Aaron
Date Posted: 16 April 2009 at 9:45am
Hi,
 
Do you want to use two statusbars (one in mainform and one in second form) and have only one event handler?
 
or
 
Do you want to use two statusbars (one in mainform and one in second form) and have an event handler for every single statusbar in own form seperately?
 
 
 
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: McKloony
Date Posted: 16 April 2009 at 10:13am

I thing I always have two event handlers if I use two forms? I have a StatusBar in an Form, that is docked with the DocPane. In this Form everything works fine. In the StatusBar of the Main Form, ist doesn't.



-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6


Posted By: Aaron
Date Posted: 17 April 2009 at 5:07am
Hi,
 
I don't know why it's not working for you. I tried with two forms and it does work. Well see for yourself and if this is what you want... If not upload test project so I can see what you mean
 
http://forum.codejock.com/uploads/20090417_050735_TestCommandBars.zip - uploads/20090417_050735_TestCommandBars.zip
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: McKloony
Date Posted: 17 April 2009 at 9:37am

I placed the code for the StatusBas in a main Modul and not into the form class, now it works fine



-------------
Product: Xtreme SuitePro (ActiveX) 16.2.5

Platform: XP / Windows 7

Language: Visual Basic 6.0 SP6



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