Print Page | Close Window

Label AutoSize+AlignXXXRight bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=17151
Printed Date: 22 November 2024 at 6:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Label AutoSize+AlignXXXRight bug
Posted By: gibra
Subject: Label AutoSize+AlignXXXRight bug
Date Posted: 24 August 2010 at 11:26am
If the standard control VB.Label is set with :
- AutoSize=True
- Alignment = Right Justify
 
when text change then the Label left-border is moved,  while the right-border still unmoved.
 
The CJ.Label doesn't work correctly: any AlignXXXRight I use, the AutoSize move le right-border, while th left-border still unmoved.
The image below is a sample that shows the problem, when different languages is used (Italian and English)
 
 
This is a big problem when i develop programs that support multi-language because I can't know how many large could be the translated string!
 
I hope that the CJ developers solve this bug as soon...
 
Thank.


-------------
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



Replies:
Posted By: Oleg
Date Posted: 25 August 2010 at 1:24am
Hi,

Why you need set AutoSize to true then ?

Unfortunatelly ActiveX architecture don't have way to change this behavior :(

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


Posted By: gibra
Date Posted: 28 August 2010 at 3:59pm
Originally posted by oleg oleg wrote:

Hi,

Why you need set AutoSize to true then ?
 
Sincerely I don't understand your question...
I have already explained the problem.
However, I want simply to replicate the VB.Label behavior.
Originally posted by oleg oleg wrote:


Unfortunatelly ActiveX architecture don't have way to change this behavior :(
Then, you say that isn't possible to replicate the VB.Label behavior?
 
Sound strange...
 
I think that Codejock SuiteControls should be a improvement of VB controls, at least of intrinsic controls.
Unfortunatelly, I have see that some standard features of VB controls are missing on many CJ controls.
Sincerely I don't understand why...
 
 


-------------
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



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