|
Post by cryptomen on Feb 10, 2022 3:33:14 GMT -5
I have some software I have written with LB which was working perfectly before but now after several years when I needed to use them the TextBoxes are not rendering correctly anymore.
What happened?
Due to some changes in Windows does these Textboxes stop working like they were working before?
The text are showing like 30% of the font from top and make it unreadable inside the boxes.
Do you have any work around or correction suggestions?
Previously a 12 point font was fitting perfectly in a 19 point TextBox.
|
|
|
Post by Rod on Feb 10, 2022 4:20:18 GMT -5
It will be your DPI setting. If you have a new hi res screen or have plugged in a second hi res monitor Windows can change the DPI setting and remember it. Use Windows Help to set your DPI back to default 96dpi. You may need to restart to "fix" the change. You can probably set it on a per application basis if you need to keep the higher setting for other apps but that is a Windows Support search.
|
|
|
Post by Brandon Parker on Feb 10, 2022 20:04:59 GMT -5
If your issue is a DPI issue as Rod is suggesting, you can most likely benefit from calling this function at the start of your program code.
result = SetProcessDPIAware()
Function SetProcessDPIAware() CallDLL #user32, "SetProcessDPIAware", SetProcessDPIAware As long End Function
{:0)
Brandon Parker
|
|