DTPICKER & FONT

Post Reply
reds
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

DTPICKER & FONT

Post 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
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: DTPICKER & FONT

Post 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 :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
reds
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Re: DTPICKER & FONT

Post by reds »

Thanks Uwe,that sorted it
Regards
Peter
Post Reply