PELLES C

PELLES C

Postby Ruth » Wed Dec 11, 2019 2:19 pm

Dear friends,
please help me.
I have a screen designed in PELLES C and I need to set a bigger font for "TOTAL SUM" and a bold font too. How can this be done?
Thank you very much in advance. I add the screen for visualisation.
kind regards to all of you
Ruth

Image
User avatar
Ruth
 
Posts: 171
Joined: Fri Dec 07, 2007 1:26 pm

Re: PELLES C

Postby MGA » Wed Dec 11, 2019 2:51 pm

Local oFont, oDlg, oSay

Define font oFont name 'TAHOMA' SIZE 0,-12 bold

define dialog oDlg resource 'FATURAMENTO'

redefine say oSay id 4003 of oDlg font oFont
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1253
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Re: PELLES C

Postby Ruth » Wed Dec 11, 2019 3:39 pm

great, thanks a lot.
this could help. but i am looking for a solution directly in the PELLES C editor since I give the task to a not so advanced co-worker. anything WYSIWYG would be appreciated.
I see that I can edit alignment (left, right, center,...) and a lot of other things but no font.
again thanks a lot and best regards.
User avatar
Ruth
 
Posts: 171
Joined: Fri Dec 07, 2007 1:26 pm

Re: PELLES C

Postby Enrico Maria Giordano » Wed Dec 11, 2019 6:42 pm

Resources doesn't contain font info for the single control, only for the whole dialog.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: PELLES C

Postby Ruth » Wed Dec 11, 2019 6:57 pm

thanks a lot. we did it the way you suggested and it looks really good to me:
Image
User avatar
Ruth
 
Posts: 171
Joined: Fri Dec 07, 2007 1:26 pm

Re: PELLES C

Postby Marc Venken » Sun Dec 22, 2019 11:08 am

I'm trying to use Pelles.

I have a .Res and a .Rc file.

If I change de Res file, after compiling it is back like it was, so the RC file is the file to change.

If I change the RC file and save the changes, all items are saved seperatly (bmp, Ico)...
Compiling is not possible any more.

Should I set some settings in Pelles /// Link file ?
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1446
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Danielmaximiliano, Google [Bot], nageswaragunupudi and 41 guests