BUG? MarkupStackPanel Internal Application Error |
Post Reply |
Author | |
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
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 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
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.... |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, yes, guess VB related thing - Markup send "Leave" notification while you debug "Enter"
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
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 |
|
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 |