Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - ActiveX Suite v17 - AxLabel with markup text fails
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ActiveX Suite v17 - AxLabel with markup text fails

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Topic: ActiveX Suite v17 - AxLabel with markup text fails
    Posted: 15 January 2016 at 4:53am
Since the update to Codejock ActiveX Suite v17 in AxLabels the display of caption with rendered XAML fails if the text contains extended ASCII codes (> 127) and the active solution platform is set to x86. With active solution platform AnyCPU the display is correct.

You can reproduce the error with the Codejock sample "Codejock Software\ActiveX\Xtreme SuitePro ActiveX v17.0.0\Samples\Controls\C#\SuiteControls1\SuiteControl.sln":
Edit in the form pageMarkup the caption of the Axlabel LabelMarkup - LabelMarkup.Caption = "<StackPanel ><TextBlock TextWrapping='Wrap' Foreground='#6f6f6f'>ASCII > 127 Ç</TextBlock></StackPanel>";
Compile the assembly with setting AnyCPU as well as with x86 and see the results.

Compiled with AnyCPU:
Compiled with AnyCPU

Compiled with x86:
Compiled with x86

Platform
Visual Studio 2010 C#
Windows 7 64 bit
Codejock ActiveX Suite v17.0.0 final
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Answer Answer
Post Options Post Options   Thanks (1) Thanks(1)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2016 at 6:05am
Solved! The solution was to register the unicode version of the Codejock controls with the Registrator.exe.
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 18 January 2016 at 7:24am
In VB6 the display fails also if the caption contains ascii characters > 127.
Back to Top
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Answer Answer
Post Options Post Options   Thanks (1) Thanks(1)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2016 at 6:05am
Solved! The solution was to register the unicode version of the Codejock controls with the Registrator.exe.
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------
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.219 seconds.