Hi again. I also forgot to mention 2 other things. (1). depending on the
charactor you are trying to display, i.e if its chinese you will have to
set the default charset in the fonts property of the label, AND (2) the
other thing is too, that the caption property for the TLabel control is a
string. you really need it to be a WideString to enable it to decypher
and display unicode chars...some time.
Down in the bowels of the TLabel control there is infact provision for
widestrings, but they are never used.
This is a big oversight on borlands part I think personally.
If you want try unicode, the best this is also to import the frm20.dll
which are the MS forms 2.0 which is what VB uses. Import the type lib,
and then you will have a series of controls, and then are fuly unicode
compatable. (just a thought)
Cheers, Jeremy Coulter
-----Original Message-----
From: "Nahum Wild" <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wed, 26 Sep 2001 14:19:12 +1200
Subject: RE: [DUG]: Unicode
> It depends on what OS you are using. I think that NT4 and Win2k by
> default
> support it but earlier versions of windows have to be
> configured/updated to
> support it.
>
> Nahum.
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Robert Martin
> > Sent: Wednesday, 26 September 2001 14:07
> > To: Multiple recipients of list delphi
> > Subject: Re: [DUG]: Unicode
> >
> >
> > Dont think you need to go you?
> >
> > Robert Martin
> > Software Engineer
> > Wild Software Ltd
> > ----- Original Message -----
> > From: "Nahum Wild" <[EMAIL PROTECTED]>
> > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 26, 2001 1:37 PM
> > Subject: RE: [DUG]: Unicode
> >
> >
> > > Is your computer setup to display unicode?
> > >
> > > Just a quick random thought.
> > >
> > > Nahum.
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On
> > > > Behalf Of Robert Martin
> > > > Sent: Wednesday, 26 September 2001 13:30
> > > > To: Multiple recipients of list delphi
> > > > Subject: Re: [DUG]: Unicode
> > > >
> > > >
> > > > It is supposed to be a solid downwards pointing arrow (as in
> > > > the ones used
> > > > in outlook express). The font may need to be set to
> > arial to get the
> > > > correct result. Although after testing your code on my
> > > > machine I get a ?
> > > > mas well. The character map shows the character as U+25BC
> > > > which I assume
> > > > means 25BC Hex and converts to 9660 decimal.
> > > >
> > > >
> > > > Robert Martin
> > > > Software Engineer
> > > > Wild Software Ltd
> > > > ----- Original Message -----
> > > > From: "Nello Sestini" <[EMAIL PROTECTED]>
> > > > To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, September 26, 2001 1:07 PM
> > > > Subject: Re: [DUG]: Unicode
> > > >
> > > >
> > > > > > I would like to display a unicode character in a
> > TLabel. I tried
> > > > > > Label.Caption := WideStrToString(#9660) but I get a
> > '?' instead of
> > > > > > the character I am after. Ideas?
> > > > >
> > > > > procedure TForm1.Button3Click(Sender: TObject);
> > > > > const w:widestring = #9660;
> > > > > begin
> > > > > label1.caption:='abc'+w+'def';
> > > > > end;
> > > > >
> > > > > When I do this and display the caption using MSSansSerif
> > > > > I get a heavy dot below the baseline. What is #9660 supposed
> > > > > to convert to?
> > > > >
> > > > > (If I try this with #9662 or #9663 i get "?"s - i.e. they don't
> > > > > have single byte equivalents)
> > > > >
> > > > > -ns
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > --------------------------------------------------------------
> > > > ------------
> > > > -
> > > > > New Zealand Delphi Users group - Delphi List -
> > > > [EMAIL PROTECTED]
> > > > > Website: http://www.delphi.org.nz
> > > > > To UnSub, send email to: [EMAIL PROTECTED]
> > > > > with body of "unsubscribe delphi"
> > > > > Web Archive at:
> http://www.mail-archive.com/delphi%40delphi.org.nz/
> > > >
> > >
> > > --------------------------------------------------------------
> > > -------------
> > > New Zealand Delphi Users group - Delphi List -
> > > [EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> > > To UnSub, send email to: [EMAIL PROTECTED]
> > > with body of "unsubscribe delphi"
> > > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> > >
> >
> -----------------------------------------------------------------------
> ---
> -
> > New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> >
>
> -----------------------------------------------------------------------
> ----
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
>
> -----------------------------------------------------------------------
> ----
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
> Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/