FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour DTPICKER & FONT
Posts: 50
Joined: Tue May 16, 2017 12:19 PM
DTPICKER & FONT
Posted: Tue Jul 23, 2019 10:36 AM

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

Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: DTPICKER & FONT
Posted: Tue Jul 23, 2019 04:10 PM
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



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.
Posts: 50
Joined: Tue May 16, 2017 12:19 PM
Re: DTPICKER & FONT
Posted: Thu Jul 25, 2019 07:41 AM

Thanks Uwe,that sorted it
Regards
Peter

Continue the discussion