Page 1 of 1

wtf font

Posted: Thu Apr 16, 2015 9:33 am
by Zdeno Bielik
Hi Roger,

when I debuging any text variable and it contains national characters, they are wrong displayed.
Please, can you add any Set/Get function for setting font for dcdebug and wtf commands?

Many thanks
Zdeno

Re: wtf font

Posted: Thu Apr 16, 2015 10:02 am
by rdonnay
Here is a new _DCQOUT.PRG.

Copy it to your \exp20\source\dclipx folder and run BUILD20.BAT or BUILD19_SL1.BAT to rebuild dclipx.dll.

You will call the function DC_DebugWindowBrowseFont( <cFont> ) to set the font.

Re: wtf font

Posted: Thu Apr 16, 2015 10:53 pm
by Zdeno Bielik
Roger,

super, it works for wtf, but not for dcdebug - see attached image.
Please, can you look on that too - many thanks.

Zdeno

Re: wtf font

Posted: Fri Apr 17, 2015 3:52 am
by rdonnay
WTF was a replacement for DCDEBUG.

Why are you using both?

In _DCQOUT.PRG (line 185)

Change this:

oMemoWindow:setFontCompoundName('8.Terminal')

To this:

oMemoWindow:setFontCompoundName(DC_DebugWindowBrowseFont())

Re: wtf font

Posted: Fri Apr 17, 2015 4:06 am
by Zdeno Bielik
Why are you using both?
sometimes I want copy results from that dcdebug window to my source code for compare/test...

Zdeno

Re: wtf font

Posted: Sun May 03, 2015 11:16 pm
by Zdeno Bielik
Hi Roger,

please, can you also add support to change/set font for columns in browse windows in dc_Dbu()?
Many thanks

Zdeno