chr

chr

Postby Silvio.Falconi » Fri Feb 12, 2016 9:40 pm

I 'm converting an oldest clipper function and I need to show this caracter on fwh

I have on oldest source

static spade := chr(6)
static heart := chr(3)
static club := chr(5)
static diamond := chr(4)


how I can converte these chr because on windows not see the symbols
I tried also With HB_OemToAnsi and HB_ANsiToOem

thanks
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7035
Joined: Thu Oct 18, 2012 7:17 pm

Re: chr

Postby Gale FORd » Fri Feb 12, 2016 10:46 pm

You will have to use a font that contains those symbols. In windows there is a font called Symbol that has the 4 playing card suits in them. You can see them if you run charmap program in windows. In Symbol font they are decimal 167, 168, 169, and 170.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 40 guests