Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Rohit Gupta
Just Guessing Here 1. If you use the currency format etc, then windows should do the right thing for a pc with thai on 2. Else I suspect code pages (are they still around) plus a font that has the character in it. Steve Peacocke wrote: Good afternoon all. I'm having problems displaying

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Steve Peacocke
Except that I can see it rendered on a web page, I can copy that character into MS Word and it shows as a character. I can also copy that character into this email (?) and it shows correctly (Gmail, on the internet). Therefore, there should be a way that I can display that character in a Label on

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Steve Peacocke
I can also paste symbol (?) into the source code and using a font that supposed to render correctly, either Mocrosoft Sans Sarif or Tahoma, all that will display is 'symbol (?)'. Talk about frustrating. Any help here by anyone would be really, really helpful. Steve On 03/08/07, Steve Peacocke

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Steve Peacocke
Just to clarify, My code states... Label1.Caption := 'symbol (?)'; Memo1.lines.add('symbol (?)'); but in each case the question mark '?' is displayed instead fo the baht symbol. I will, no doubt, have the same issue with Pound and others. Steve On 03/08/07, Steve Peacocke [EMAIL

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Steve Peacocke
OK, I can display the following correctly... memo1.Lines.Add('Yen = ' + chr(165)); memo1.Lines.Add('Pound = ' + chr(163)); memo1.Lines.Add('Euro = ' + chr(128)); and they display the correct currency symbols, but when I add memo1.Lines.Add('Baht = ' + chr(3647)); I still comes

RE: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Tim Jarvis
Steve, the VCL components don't support Unicode characters, this is on the road map and is expected to be delivered next year. For now I would suggest the excellent TMS component suite. (http://www.tmssoftware.com/) Regards Tim. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [DUG] Thai Baht Symbol - Try Unicode

2007-08-02 Thread Colin/Mina
Steve, I think you are going to need to incorporate unicode. Learn about Unicode here: http://perl.net.au/wiki/Unicode You will find the Thai character set here : http://downloads.activestate.com/pub/apc/perl-current/ext/Encode/ucm/8859-11.ucm The Baht symbol

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Steve Peacocke
Damn, I was hoping someone wasn't going to tell that. I was just checking into this 'Unicode' word when your email hit. Thanks Tim. Steve On 03/08/07, Tim Jarvis [EMAIL PROTECTED] wrote: Steve, the VCL components don't support Unicode characters, this is on the road map and is expected to be

Re: [DUG] Thai Baht Symbol - Try Unicode

2007-08-02 Thread Steve Peacocke
Thanks Colin, I'm looking at the TMS Unicode component also. Steve On 03/08/07, Colin/Mina [EMAIL PROTECTED] wrote: Steve, I think you are going to need to incorporate unicode. Learn about Unicode here: http://perl.net.au/wiki/Unicode You will find the Thai character

RE: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Myles Penlington
I think the delphi-gems web site also has some unicode stuff from memory. I would have thought though if you changed to the correct codepage or character set, that then you could use the correct symbol - however it would not have Unicode character value that you mentioned. Myles. -Original

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Neven MacEwan
Wouldn't there be a 8bit thai codepage? 874? I think the delphi-gems web site also has some unicode stuff from memory. I would have thought though if you changed to the correct codepage or character set, that then you could use the correct symbol - however it would not have Unicode character

RE: [DUG] Windows UI during Screensaver

2007-08-02 Thread Conor Boyd
One thing that I encountered was that Windows message handling was different (or non-existent?) when a screensaver is active. For a personal project (http://gloss.ildica.com/) I wrote a screensaver in Delphi which I wanted to communicate with another process on the same machine. Windows messages

Re: [DUG] Windows UI during Screensaver

2007-08-02 Thread Steve Peacocke
There is an article about that at... http://www.latiumsoftware.com/en/pascal/0027.php#6 Steve -- Steve Peacocke http://stevepeacocke.blogspot.com/ On 03/08/07, John Bird [EMAIL PROTECTED] wrote: So what is the best way to detect the screensaver is on? The best way I know so far is

RE: [DUG] Windows UI during Screensaver

2007-08-02 Thread Conor Boyd
function IsScreenSaverActive: Boolean; begin SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @Result, 0); end; -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Bird So what is the best way to detect the screensaver is on? The best way I know so

RE: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Ross Levis
I had a full Chinese translation of my software at one point and all I saw was ? when running it here, but the Chinese version of Windows displayed it fine. But if you want the symbols displayed in all codepages then I believe it needs to be Unicode. Ross. -Original Message- From:

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Brian Wrigley
Hi Steve, - Original Message - From: Steve Peacocke [EMAIL PROTECTED] To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Sent: Friday, August 03, 2007 8:46 AM Subject: Re: [DUG] Thai Baht Symbol - or Hex value to String converted Except that I can see it rendered on a

[DUG] [Fwd: CodeGear Delphi Technical Seminar Invitation]

2007-08-02 Thread Richard Vowles
Original Message Subject: CodeGear Delphi Technical Seminar Invitation Date: Thu, 02 Aug 2007 18:52:49 +1000 From: CodeGear [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Steve Peacocke
Hello Brian, The uppercase beta that you are seeing is in fact the character used for the Baht symbol. See http://www.fileformat.info/info/unicode/char/0e3f/index.htm I understand what you are saying, but this will be installed onto a full hardware sealed-box device (I am unable to elaborate on

Re: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Jeremy North
There are however a couple of pitfalls (at least in Delphi7, not sure any of them got fixed in any of the newer Delphi version and there are plenty more bugs in any of the older Delphi version in this regard!): Following is a DON'T DO, Unicode doesn't work from within Delphi source code:

RE: [DUG] Thai Baht Symbol - or Hex value to String converted

2007-08-02 Thread Peter Bankers
Hello Stefan, My friend from way back. In fact I believe you were the first person I ever placed in a permanent role. I trust all is well with you, work and business and Itski. In my case I’m to be GRANDAFATHER or the first time this month. My older daughter is with child and is