realbasic-nug.fr
[Top] [All Lists]

Re: bug dans les SelTextFont

To: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Subject: Re: bug dans les SelTextFont
From: Arnaud Nicolet <anic297@mac.com>
Date: Thu, 18 Sep 2008 13:38:24 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug.fr-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug.fr-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <7FF88F09-155A-44E2-971C-5ED793C03CDD@coolpaie.com>
References: <8CCFA9AE-70C9-49AF-B28A-E38C5826BEBC@coolpaie.com> <FDE24FA5-35F1-48A1-A3AB-CC1E66376CDD@mac.com> <A6BFBECE-41BE-48DD-9B16-76CD6BFB12EB@coolpaie.com> <78B7FDF0-0A75-4E85-844A-9815943DE4E1@mac.com> <001501c918ee$fcd21800$f6764800$@com> <49A1C08A-0794-4FCA-BDCE-257640BC79A1@coolpaie.com> <7FF88F09-155A-44E2-971C-5ED793C03CDD@coolpaie.com>
Reply-to: REALbasic NUG French <realbasic-nug.fr@lists.realsoftware.com>
Sender: realbasic-nug.fr-bounces@lists.realsoftware.com
J'ai peut-être pas tout compris, mais, dans votre exemple ci-dessous, vous n'indiquez rien qui ne marche pas... Sinon, à tout hasard, essayez avec Encodings.UTF8 ou avec DefineEncoding...

Le 18 sept. 08 à 11:53 (matin), michel bulteau a écrit:

En définitive cela ne passe pas par en ConvertEncoding autant pour moi.

La seule solution que j'ai touvé est :

  dim nomFont as String

  EditField1.SelTextFont="Courier"
)
  nomFont=EditField1.SelTextFont

> la variable nomFont à désormais le bon encodage -> macintosh

  EditField1.SelTextFont="Arial"

  nomFont=EditField1.SelTextFont

  msgbox nomFont -> fonctionne

Aurais tu une autre solution, avec le ConvertEncoding l'encodage de la variable ne change pas.



<Prev in Thread] Current Thread [Next in Thread>