Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - SOLVED: MarkupLabel Cursor
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: MarkupLabel Cursor

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

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: MarkupLabel Cursor
    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
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3

Language: Visual Basic 6.0 SP6

Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post 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

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