<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>
      myOffice Email Message
    </title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta name="date" content="2002-11-01">
  <style type="text/css">
  </style>
  </head>
  <body>
    <span style=
      "color:#FF0000 "><b><span style=
      "font-family:MS Sans Serif ">[Reply]</span></b></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">Hi Csaba,</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">Check out this Unicode editor that has it all ...</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">http://www.soft-gems.net:8080/browse/~raw,r=116/library/UniCodeEditor/Source/UniCodeEditor.pas</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">cheers</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">Gary</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">A</span><span style=
      "color:#FF0000 "><b>t 04:32 on 10/09/2007 you wrote </b></span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;To  : delphi@delphi.org.nz</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;CC  : </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;From: Csaba Gajo, csaba@enyem.com</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Content Type: text/plain</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Attached: </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Hi everyone!</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I need to copy some text to the clipboard, using the TClipboard object. If  </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I use the old-fashioned way, I would do it like this:</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;clp := TClipboard.Create;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;clp.SetTextBuf(PChar(MyText.Text));</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;clp.Free;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;However, if I use Unicode components I will have to deal with WideString  </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;and PWideChar. If I try to do</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;clp.SetTextBuf(PWideChar(MyText.Text));</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I will get an error because the Clipboard expects an ordinary PChar.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;So how can I copy Unicode text to the clipboard?</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I'm using Delphi 5 btw.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Thanks, Csaba</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;_______________________________________________</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;NZ Borland Developers Group - Delphi mailing list</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Post: delphi@delphi.org.nz</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Admin: http://delphi.org.nz/mailman/listinfo/delphi</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Unsubscribe: send an email to delphi-request@delphi.org.nz with Subject: unsubscribe</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span><p>
  <font face=arial size = 1 color = Navy><DIV style="WIDTH: 260px; HEIGHT: 50px"><br>
<br>
<MARQUEE id=marquee1 style="WIDTH: 260px; HEIGHT: 200px" trueSpeed scrollAmount=5 scrollDelay=20 direction=right behavior=slide loop=1 border="2"><hr><br>
<br>
<br>
<table><br>
<tr><td><FONT color=black size=4 face = "helvetica,verdana,arial">Gary Benner </FONT></td></tr><tr><td><FONT face="arial, arial, helvetica, sans-serif" color=black size=2>e-Engineer, Lecturer, and Software Developer</FONT></td></tr><br>
<br>
<tr><td bgcolor=><FONT face="arial, arial, helvetica, sans-serif" color=#000099 size=2><B><A HREF="http://www.benner.co.nz" style="text-decoration:none; color:blue">Gary Benner & Associates</A></B></FONT></td></tr><br>
<br>
<tr><td bgcolor=><FONT face="arial, arial, helvetica, sans-serif" color=#000099 size=2><B><A HREF="http://www.123.net.nz" style="text-decoration:none; color:blue">123 Internet Limited</A></B></FONT></td></tr><br>
<br>
<tr><td bgcolor=><FONT face="arial, arial, helvetica, sans-serif" color=#000099 size=2><B><A HREF="http://www.waiariki.ac.nz" style="text-decoration:none; color:#993333">Waiariki Institute of Technology</A></B></FONT></td></tr><br>
<br>
<tr><td><font face = "helvetica,verdana,arial" size = 1>Mob: 021 966 992</font></td></tr><br>
<br>
<tr><td><font face = "helvetica,verdana,arial" size = 1>Skype: garybenner</font></td></tr><br>
<br>
<tr><td><font face = "helvetica,verdana,arial" size = 1>Email: <A href="mailto:gary@benner.co.nz" >gary@benner.co.nz</A> </font></td></tr></table><br>
<br>
</MARQUEE><br>
<br>
</DIV><br>
<br>
Ref#: 41006<br>
<br>
</body>
</html>