DTPICKER & FONT

DTPICKER & FONT

Postby reds » 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
reds
 
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Re: DTPICKER & FONT

Postby ukoenig » Tue Jul 23, 2019 4: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

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

Re: DTPICKER & FONT

Postby reds » Thu Jul 25, 2019 7:41 am

Thanks Uwe,that sorted it
Regards
Peter
reds
 
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 96 guests