Print Page | Close Window

BUG? MarkupStackPanel Internal Application Error

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13697
Printed Date: 22 November 2024 at 7:07pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: BUG? MarkupStackPanel Internal Application Error
Posted By: jpbro
Subject: BUG? MarkupStackPanel Internal Application Error
Date 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 - 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




Replies:
Posted By: Aaron
Date 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....


Posted By: Oleg
Date 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


Posted By: jpbro
Date 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




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