Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - SOLVED: StatusBar Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: StatusBar Problem

 Post Reply Post Reply
Author
Message Reverse Sort Order
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: StatusBar Problem
    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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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
 
 
 
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....
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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....
Back to Top
McKloony View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 January 2007
Location: Germany
Status: Offline
Points: 340
Post Options Post Options   Thanks (0) Thanks(0)   Quote McKloony Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.