Page 1 of 1

PELLES C

Posted: Wed Dec 11, 2019 2:19 pm
by Ruth
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

Re: PELLES C

Posted: Wed Dec 11, 2019 2:51 pm
by MGA
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

Re: PELLES C

Posted: Wed Dec 11, 2019 3:39 pm
by Ruth
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.

Re: PELLES C

Posted: Wed Dec 11, 2019 6:42 pm
by Enrico Maria Giordano
Resources doesn't contain font info for the single control, only for the whole dialog.

EMG

Re: PELLES C

Posted: Wed Dec 11, 2019 6:57 pm
by Ruth
thanks a lot. we did it the way you suggested and it looks really good to me:
Image

Re: PELLES C

Posted: Sun Dec 22, 2019 11:08 am
by Marc Venken
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 ?