Page 1 of 1

DTPICKER & FONT

Posted: Tue Jul 23, 2019 10:36 am
by reds
I cannot change the display size of the date in DTPICKER box when selecting a Font
e.g. 'TAHOMA SIZE 0,-20

I've tried it on samples\datetime.prg and couldn't get it work on that either
Curiously though on my program the NoDate checkbox has resized but hasn't on the datetime.prg

I've set both lines in resource files to the same

"SysDateTimePick32", DTS_SHOWNONE|WS_TABSTOP


Thanks
Peter

Re: DTPICKER & FONT

Posted: Tue Jul 23, 2019 4:10 pm
by ukoenig
I
cannot change the display size of the date in DTPICKER box when selecting a Font
Peter did You try :

REDEFINE DTPicker oGet[2] VAR aVal[30] ID 140 UPDATE OF oFld:aDialogs[ 1 ]
oGet[2]:SetFont( oFontMed )

used fonts :
DEFINE FONT oFontMed NAME "Arial" SIZE 0, -20 BOLD
DEFINE FONT oFontSys NAME "Arial" SIZE 0, -16

Image

regards
Uwe :?:

Re: DTPICKER & FONT

Posted: Thu Jul 25, 2019 7:41 am
by reds
Thanks Uwe,that sorted it
Regards
Peter