Print Page | Close Window

Popup Control with accented characters Message

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=23852
Printed Date: 19 April 2024 at 3:14am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Popup Control with accented characters Message
Posted By: samy.hamza2018@gmail
Subject: Popup Control with accented characters Message
Date 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



Replies:
Posted By: Vycheslav
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net