Print Page | Close Window

[solved] V17.1 Messagebox: Text is truncated

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=22995
Printed Date: 03 May 2024 at 4:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [solved] V17.1 Messagebox: Text is truncated
Posted By: iamgtd
Subject: [solved] V17.1 Messagebox: Text is truncated
Date Posted: 12 April 2016 at 2:26am
In some cases the text in a skinned messagbox is truncated. It depends of the length of the text. If the text reaches to the right border in the unskinned messagebox then it could be that the last word of the text in the skinned messagebox is wrapped to the next line. But this new line isn't shown.

One screenshot is with skinning and the other one is without skinning. In the skinned messagebox is the last word "C++" missing.




-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------



Replies:
Posted By: iamgtd
Date Posted: 12 April 2016 at 3:03am
Workaround is to add one space at the end of the text.


-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------


Posted By: olebed
Date Posted: 13 April 2016 at 3:12pm
Hello,

Can't reproduce this issue with current version of code, may be this was fixed.
In SkinControls C# codejock sample, with 100-125-150-200% DPI   I have used next code :
private void buttonSample_Click(object sender, EventArgs e)
{
   MessageBox.Show("Codejock is a leading provider of components and controls Visual C++", this.Text, 
   MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
Regards,
 Oleksandr Lebed


Posted By: iamgtd
Date Posted: 14 April 2016 at 1:43am
I can reproduce this issue with different operating systems. Win7 and Windows Server 2008R2 and using 100% DPI. Both computer are virtual machines (VMWare).

-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------


Posted By: olebed
Date Posted: 14 April 2016 at 5:28am
I have tested with old code  from v17.1  and also reproduced even on 125% DPI. I think this issue has been already fixed. 


Posted By: iamgtd
Date Posted: 14 April 2016 at 6:25am
Thumbs Up Thank you!

We are still waiting for v17.2 with all the fixes.


-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------



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