Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Label AutoSize+AlignXXXRight bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Label AutoSize+AlignXXXRight bug

 Post Reply Post Reply
Author
Message
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post Topic: Label AutoSize+AlignXXXRight bug
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gibra View Drop Down
Senior Member
Senior Member


Joined: 31 October 2008
Location: Italy
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibra Quote  Post ReplyReply Direct Link To This Post 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
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.