DAY 013: _FONTWIDTH
#2
Is this a keyword of today, tomorrow, or yesterday. I'm losing track. Someone please fix the friggin' Magic 8-bull, or stop feeding it Red Bull.

This is an extremely useful keyword along with _FONTHEIGHT for determining SCREEN size proportions in SCREEN 0. With them, you can size the width, height, and location of your program window in relation to your desktop and keep that ratio and placement relatively close if you change font sizes while running your app. The most recent app I've used this in is Sam Clip. I also coded a SCREEN _NEWIMAGE example for hanness, here...

https://staging.qb64phoenix.com/showthread.php?tid=337

Pete
If eggs are brain food, Biden takes his scrambled.
Reply


Messages In This Thread
DAY 013: _FONTWIDTH - by SMcNeill - 11-18-2022, 12:46 PM
RE: DAY 013: _FONTWIDTH - by Pete - 11-18-2022, 07:07 PM
RE: DAY 013: _FONTWIDTH - by mnrvovrfc - 11-19-2022, 04:31 PM



Users browsing this thread: 3 Guest(s)