Label: MouseIcon e MouseCursor missing! |
Post Reply |
Author | ||
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
Posted: 08 May 2011 at 8:04am |
|
I want to use a Label as a link (i.e. http://www.google.com) and I need show the hand cursor for this label when the mouse is over, as normally happens with any link. Unfortunately MouseIcon and MouseCursor properties is missing.
How to?
I hope that CJ support add this properties into next release.
|
||
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
||
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
|
You can use Markup for this in the meantime - for a demo, put 2 CodeJock labels on a form (Label1 and Label2) and then set the EnableMarkup properties to True in the IDE. The add this code and run:
|
||
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
||
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
|
Thank jpbro for your code,
but honestly I think that it's very boring re-write tens of code only because CJ doesn't support standard VB controls properties!
As already write on others discussions, CJ controls should be a improvements.
Migrating from a project wich use VB standard controls to the CJ controls should be automatic, and ALL CJ controls should to expose ALL standard VB controls properties. This isn't!
In fact, in many cases (as this one) the developer is forced to re-write tens of code, to implement properties that a standard VB.Label where need to set only two properties!
About this 'standard' properties I have asked many time ago, but nothing news from CJ support.
Perhaps is too hard to do...
(see your SuiteControls TODO...)
Also, the CJ.Label present a paint BUG after changed or resized that cause a bad repaint of control.
IMHO
|
||
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
||
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
|
I didn't know that you were migrating an older project - it is definitely preferable to have all of the same properties, methods, etc... as the intrinsic controls to make this possible/easy. I hoped that once the major work on the Chart control was finished that CJ would revisit a lot of the outstanding issues in the other controls, but other than the ReportControl (on which Andre has been doing great work addressing the big list of old issues), it looks like the rest of the suite is not a high priority :(
Re: the CJ.Label present a paint BUG after changed or resized that cause a bad repaint of control. Do you have a sample to reproduce? I haven't been able to get a bad repaint in my limited test. |
||
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
||
gibra
Senior Member Joined: 31 October 2008 Location: Italy Status: Offline Points: 288 |
Post Options
Thanks(0)
|
|
Yes, unfortunately.
I missed to explain that this bug happens at design time, so no project sample need to replicate this bug.
I use Windows7 64bit and WindowsXP Pro SP3 and both o.s. I have the same problem (from CJ v.13.x to v. 15.0.2). See images below :
1. In this case the CJ.Label is contained into a GroupBox control.
2. in this case CJ.Label is contained into a PictureBox.
The problem happens after you extend Label vertically.
In 1st image I have extended 1 time only
In 2nd image I have extended more times.
Thank you
|
||
gibra
CJ SuiteControl v: 13.x to 19.x Windows 10 64bit VS2019 - VB6.0 SP6 <a href="http://nuke.vbcorner.net/Home/tabid/36/language/en-US/Default.aspx" rel="nofollow">VS/VB 6.0 Installer v6.8 |
||
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 |