![]() |
Popup Control with accented characters Message |
Post Reply ![]() |
Author | |
samy.hamza2018@gmail ![]() Newbie ![]() Joined: 17 May 2019 Location: France Status: Offline Points: 3 |
![]() ![]() ![]() ![]() ![]() Posted: 17 May 2019 at 7:43am |
Hi everyone,
Please, can someone help me ! I can't create popup control with accented characters. (Frensh string).... Exemple (I am using Vb6 sp6) Set Item = Popup.AddItem(46, 29, 320, 54, "Opération terminée avec succès...à 12h00") will result like this !!! ![]() Any help please..... Thanks
|
|
Regards
Slim |
|
![]() |
|
Vycheslav ![]() Groupie ![]() Joined: 11 July 2008 Location: Russian Federation Status: Offline Points: 44 |
![]() ![]() ![]() ![]() ![]() |
Try the following code:
PopUp.EnableMarkup = True
MesText = "<?xml version='1.0' encoding='Windows-1251'?><StackPanel Orientation='Horizontal'><TextBlock Padding='5, 0, 0, 0' TextWrapping='Wrap' VerticalAlignment='Center'>" & MessageText & "</TextBlock></StackPanel>"
Set Item = PopUp.AddItem(46, 29, 320, 54, MesText)
Replace "Windows-1251" with the name of the French codepage.
It helped me.
|
|
![]() |
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 |