A downloadable tool for Windows

GFA-Basic 32 Windows Demo

This sample program demonstrates advanced window and frame management, custom font styling, and DPI customization in GFA-Basic 32 for Windows. It features resizable windows, styled text, and dynamic frame handling, making it a helpful reference for creating polished user interfaces in your projects.

How this library helps with Frame management

GFA-Basic's native Frame controls sometimes exhibit rendering issues when their font size is set to non-standard values, often resulting in extra lines or improper redraws. The Lib_FixFrame library addresses this problem by providing a simple function to force the frame to redraw correctly, effectively "fixing" the rendering quirks.

The L_FixFrame procedure resets the frame's border style, prompting it to refresh and eliminate visual glitches caused by font size changes. The L_FixAllFrames procedure scans through all controls in a form and applies the fix to every frame, ensuring consistent, glitch-free rendering across your UI.

This modular approach streamlines UI development, allowing you to reliably manage frames with custom fonts and DPI settings without encountering common display issues.

Download

Download
Demo Frame Quirk.G32 607 bytes
Download
Lib_FixFrame.lg32 592 bytes
Download
Lib_FixFrame.G32 1.8 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.