ActiveX Suite v17 - AxLabel with markup text fails |
Post Reply |
Author | |
iamgtd
Senior Member Joined: 25 February 2009 Status: Offline Points: 131 |
Post Options
Thanks(0)
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 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# --------- |
|
iamgtd
Senior Member Joined: 25 February 2009 Status: Offline Points: 131 |
Answer Post Options Thanks(1) |
Solved! The solution was to register the unicode version of the Codejock controls with the Registrator.exe.
|
|
iamgtd
Senior Member Joined: 25 February 2009 Status: Offline Points: 131 |
Post Options
Thanks(0)
|
In VB6 the display fails also if the caption contains ascii characters > 127.
|
|
iamgtd
Senior Member Joined: 25 February 2009 Status: Offline Points: 131 |
Answer Post Options Thanks(1) |
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# --------- |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |