Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Popup Control with accented characters Message
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Popup Control with accented characters Message

 Post Reply Post Reply
Author
Message
samy.hamza2018@gmail View Drop Down
Newbie
Newbie


Joined: 17 May 2019
Location: France
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote samy.hamza2018@gmail Quote  Post ReplyReply Direct Link To This Post Topic: Popup Control with accented characters Message
    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
Back to Top
Vycheslav View Drop Down
Groupie
Groupie


Joined: 11 July 2008
Location: Russian Federation
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote Vycheslav Quote  Post ReplyReply Direct Link To This Post Posted: 23 May 2019 at 3:53am
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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.141 seconds.