Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Version 36 Popup Font Size

Jun
1,092
48
Although I have set the font sizes to the same value as in version 35, the popup window opened by the @select function is larger. It seems to be stuck at 12 pt, which was the original setting, and has not responded to my change to 10 pt. I have closed and reopend TCMD several times.

Oh, it's even more complicated. I opened a standalone TCC window. It came up in a larger font than what was configured in the option settings for TCC from TCMD. When I changed the size to 10 in TCC, the size was what I expected. When I opened the option command for TCC in TCMD, it showed a font size of 7.

There seems to be some mismatch between configurations made in TCC and those made from TCMD. Or I'm misunderstanding something...
 
This is not new to v36. (And none of the relevant code changed in the new version.)

This has been an ongoing issue because the Windows API is returning the wrong font info. In TCMD, the font is set to the same font as is used in the tab windows. In TCC console windows, the font is (supposed to be) set to the same as the current console font. Which is where Windows is returning the wrong info -- and it's not likely to ever get any better, because the API in question is deprecated and not supported in the Win 10 / 11 pseudoconsoles. So TCC relies on what you have set in the popupfont .INI directives, which won't necessarily match what you've got in TCMD.
 
Although I have set the font sizes to the same value as in version 35, the popup window opened by the @select function is larger. It seems to be stuck at 12 pt, which was the original setting, and has not responded to my change to 10 pt. I have closed and reopend TCMD several times.
In .btm files, I have always wrapped @Select with

Code:
OPTION //ConsolePopupWindows=Yes

:: Your @select goes here

OPTION //ConsolePopupWindows=No

Ref: OPTION command - Modify or display TCC configuration

I chose to do this in TCC so that it would look the same as in 4DOS.

YMMV

Joe
 
Back
Top