Print Page | Close Window

CJ Controls vs VB6 Controls

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Active-X COM Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=15032
Printed Date: 28 April 2024 at 9:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CJ Controls vs VB6 Controls
Posted By: ou81aswell
Subject: CJ Controls vs VB6 Controls
Date Posted: 23 August 2009 at 6:23pm

It's pretty obvious where you would use most CJ controls in place of their VB6 equivalents but I can't find much information about the subtle differences between them.

For example, a side effect of using the flat edit in place of the trusted VB6 Textbox is that it handles more text. I've tested it up to 1MB and it seems to work well. This is a pleasant suprise.
 
Another side effect is the way the FlatEdit_DblClick() event works. In my original code I changed the textbox's .selstart and .sellength properties so double-clicking on text within the box would select an entire word using variable naming rules instead of spaces to determine where the word starts and ends. This code does not have any effect with CJ's flat edit. It's as if CJ simply decides to apply its own text selection logic after my event procedure has completed.
 
I also struggled at first to understand the differences between CJ's tab control and the VB6 one given that the the CJ one does not have a .Tabs property and relies on an Item property of some sort instead.
 
What does CJ's treeview do that VB6's doesn't? How about the listview?
 
Less specifically, is there any documentation or links to topics highlighting some of the more subtle differences between the controls in general?
 
TIA
 
Edit: I'm using VB6 + CJ 13.1 + XP + Vista
 
 



Replies:
Posted By: chrisABC
Date Posted: 13 February 2010 at 6:24am
I have asked the same question .....


..... and received the same reply.  :-(




-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: tobi
Date Posted: 13 February 2010 at 8:25pm
One difference is the support for Markup ! This is why I use the CodeJock controls instead of the VB6 standard controls ...


Posted By: Aaron
Date Posted: 13 June 2010 at 6:17am
Hi,
 
I would like to know the differences as well. For now I'm using the "standard" MS & VB controls, they work for me without problems. If I would replace the controls with CJ controls what can I expect? Just replacing and wait for some "feature" that doesn't work isn't an option. I know the best feature, Markup, is available but still... So just a simple list of methods & properties would be nice, just to compare what is available and what's not. If I decide to replace the controls, I would like to know in advance what problems I would run into. I prefer just to have one library to keep it simple  
 
Thanks in advance
 


-------------
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: 14 June 2010 at 4:53am
Sure don't replace VB to CJ controls if you don't need any extended feature from CJ controls.

from general features I see Unicode support, Markup, border/appearance styles.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 14 June 2010 at 5:27am
Originally posted by oleg oleg wrote:

Sure don't replace VB to CJ controls if you don't need any extended feature from CJ controls.

from general features I see Unicode support, Markup, border/appearance styles.
 
Hi Oleg,
 
I would like to use the extended features such as Markup but I don't know what features (for example the Treeview) are missing compared to MS TreeView. So a list of "missing" features would be nice so I can decide myself if I'm going to replace the MS/VB controls. I don't mind replacing some code to get things working as long as I know it can be done. As I said before, just one library for "common controls" would be better.
 
Thanks
  


-------------
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: Hemesh
Date Posted: 24 August 2010 at 9:41am
I'm going through replacing all the controls of a vb project which is proving to be a lengthy task! I was going to use the automated one, but running through the tests, there are some niggling issues which cause more hastle that they are worth, so doing it all manually.

Why am I doing it? simply because when using the russian character set, most vb6 standard controls display the text as ?????? as they don't have unicode support. I'd suggest replacing them all if you did want unicode support!


-------------
Product: Xtreme SuitePro (ActiveX) version 18.5.0

Platform: Windows 7 Enterprise (64-bit)

Language: Visual Basic 6.0



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