Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - BUG? MarkupStackPanel Internal Application Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BUG? MarkupStackPanel Internal Application Error

 Post Reply Post Reply
Author
Message
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: BUG? MarkupStackPanel Internal Application Error
    Posted: 15 March 2009 at 10:11pm
I've found a strange bug that seems to appear intermittently when debugging the MarkupLabel control. When I use a StackPanel object with more than one child and the MouseEnter and MouseLeave events pointing to the same handler sub, the IDE will raise an "Internal Application Error" when entering debug mode at a breakpoint within the handler sub.

I think this is happening because the MouseLeave event is firing when the IDE enters debug mode and the MarkupControl is trying to execute code in the form (but can't because it is in debug mode).

Here's a test project:

uploads/20090315_221029_StackPanelBug2.zip

Put a breakpoint in the MouseEvent sub and run the project. Move the mouse over the text and you *may* see the error message, if not, move the mouse and press F5 to resume execution then try again. Eventually you should see the error message.
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

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 March 2009 at 2:24am
Hi Jason,
 
You will get that error but only when mouse is entering MarkupLabel from the bottom
Is very strange and I tried several times and I didn't get an error when mouse would enter from left,top and right  
Maybe it will help CJ to find this.
 
 
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
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 7:47am

Hi,

yes, guess VB related thing - Markup send "Leave" notification while you debug "Enter"
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1354
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2009 at 5:07pm
Hi Aaron...thanks for testing this and my other recent posts.
That has to be one of the strangest bugs I've seen in a while (in that it only manifests itself when entering the area from the bottom edge). So Oleg, while it may be a VB related thing, why does it only happen when you enter from the bottom?
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

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.188 seconds.