![]() |
markup in MessageBar object. |
Post Reply ![]() |
Author | |
Vycheslav ![]() Groupie ![]() Joined: 11 July 2008 Location: Russian Federation Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() Posted: 29 December 2017 at 4:21am |
MarkUp context does not support Unicode character.
CodeJock version 18.2 |
|
![]() |
|
Vycheslav ![]() Groupie ![]() Joined: 11 July 2008 Location: Russian Federation Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
Also CodeJock version 18.4 too.
Code: CommandBars1.MessageBar.Message = "<StackPanel Orientation='Horizontal'>" & _ "<TextBlock Padding='10, 0, 0, 0' VerticalAlignment='Center'><Bold>" & _ "Tru-la-la" & "</Bold></TextBlock></StackPanel>" Work properly. CommandBars1.MessageBar.Message = "<StackPanel Orientation='Horizontal'>" & _ "<TextBlock Padding='10, 0, 0, 0' VerticalAlignment='Center'><Bold>" & _ "Тру ля-ля" & "</Bold></TextBlock></StackPanel>" Does not work properly. |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Hello Vycheslav,
Note that VB6.0 IDE editor don't support Unicode. You need to load this markup as external file. See this topic. Also you should use Unicode OCX. I have tried your example with C# RibbonSample and MessageBar show "Тру ля-ля". Regards, Oleksandr Lebed |
|
![]() |
|
Vycheslav ![]() Groupie ![]() Joined: 11 July 2008 Location: Russian Federation Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
Really? But version 16 drawing this text properly.
Code: MarkupLabel1.Caption = "<StackPanel Orientation='Horizontal'>" & _ "<TextBlock Padding='10, 0, 0, 0' VerticalAlignment='Center'><Bold>" & _ "Тру ля-ля" & "</Bold></TextBlock></StackPanel>" also work properly... MarkupLabel version 18. With VB 6.0. Visual Studio 2017. VB Net. MessageBar drawing this text not properly. This is bug. What else do you need to stop this useless discussion? And start troubleshooting your bugs? |
|
![]() |
|
olebed ![]() Admin Group ![]() Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
I need to turn on my third eye to know your programming language and version of VS and version of Windows and and and and
Please make ticket on support site with detailed description and sample application. The problem will be addressed according to its priority. |
|
![]() |
|
Vycheslav ![]() Groupie ![]() Joined: 11 July 2008 Location: Russian Federation Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
Ok.
Operation systems: MS Windows 7 or later (developer or client), MS Server 2008 or later (client only). Development environments: Visual Studio 6, Visual Studio 2017. Programming languages: VB6, C++ (VS 6), VB Net, C# and VB Script. The MessageBar object has been tested in DE and RunTime on the VB6, VB Net, C#; in RunTime on VB Script. Result: object does not support unicode characters in markup expressions. |
|
![]() |
|
Vycheslav ![]() Groupie ![]() Joined: 11 July 2008 Location: Russian Federation Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
All my problem resolve adding standard XML header. ...encoding='Windows-1251'...
|
|
![]() |
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 |