character high and witdh

character high and witdh

Postby jds » Tue Dec 29, 2009 9:10 am

I am a non professionnal programmer in FWH from source code
Can anyone tell me how I can make bigger the characters displayed within the windows. The characters to print are no problem.
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: character high and witdh

Postby Richard Chidiak » Tue Dec 29, 2009 10:37 am

welcome to this forum

you have to define the font first and delete the object font afterwards

DEFINE FONT AFONT NAME "Tahoma" SIZE 0,-14 // this is a sample

@ 200,05 GET xxx VAR yyyy OF www PIXEL SIZE 90,30 COLOR CLR_HBLUE,CLR_WHITE FONT afont

You can add a font to every control (get, say etc...)

after activating the window, at end

afont:end()

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: character high and witdh

Postby jds » Thu Dec 31, 2009 12:42 pm

Thank you Richard, It works very good for says and gets but how can I do work it for listbox browses?
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm

Re: character high and witdh

Postby James Bott » Thu Dec 31, 2009 3:46 pm

DEFINE FONT oFONT NAME "Tahoma" SIZE 0,-14 // this is a sample

@ 1,1 LISTBOX ... FONT oFont

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: character high and witdh

Postby jds » Fri Jan 01, 2010 11:56 am

many thanks to James Bott
best regards and a happy New Year
José
jds
 
Posts: 122
Joined: Sat Dec 05, 2009 12:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

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