SOLVED: StatusBar Problem |
Post Reply |
Author | |
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
|
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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
|
|
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.... |
|
McKloony
Senior Member Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |
Post Options
Thanks(0)
|
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 |
|
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 |