SOLVED: MarkupLabel Cursor
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=13693
Printed Date: 22 November 2024 at 7:01pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: SOLVED: MarkupLabel Cursor
Posted By: jpbro
Subject: SOLVED: MarkupLabel Cursor
Date Posted: 15 March 2009 at 12:24pm
APPEARS TO BE FIXED IN LATEST TESTING BUILD
The cursor doesn't get changed immediately after setting the cursor property within Mouse* events. You have to produce a second mouse event (move, up) in order for the cursor to change. If you don't do this, then the cursor changes get reversed (for example, if you click then release the mouse button without moving the mouse, the cursor will be the opposite of what you desire). Here's a demonstration:
uploads/20090315_122411_CursorBug.zip - uploads/20090315_122411_CursorBug.zip
------------- Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3
Language: Visual Basic 6.0 SP6
|
Replies:
Posted By: jpbro
Date Posted: 15 March 2009 at 12:50pm
A workaround is to hide and show the MarkupLabel immediately after setting the Cursor property of an object:
mo_StackPanel.Cursor = xtpMarkupCursorSizeNS
Me.MarkupLabel1.Visible = False Me.MarkupLabel1.Visible = True
|
Ugly, but it will work until the bug is fixed.
I also really think the MarkupLabel control could benefit from a Redraw property. When False, updating the rendered output is deferred until the Redraw property is set to True.
------------- Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3
Language: Visual Basic 6.0 SP6
|
|