Bisonte wrote:Ah now I see what you mean.
I tested it with PB 4.41 and the fontnames are styled like the fonts, but not with PB5.60 on my Win10.
I don't know what happen'd, maybe an API artist can do it ?
Thought I was going mad.
When I first tested drag and drop on the very first Windows 10, that didn't work either but a few updates later it did. I vaguely remember MS saying that there were some API changes but don't remember what they were.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
If this works, I am going to bend down low and wassail in your direction. It doesn't help that I am on the Redstone 2 release cycle and MS break 10 things (at least) for every thing they fix or add.
It's just too damned useful not to use. I know PB has a built in fontrequester but there are a whole heap of applications where your method is very much needed.
Thank you a thousand times.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Why in the world would you use an outdated version?
Because 50 projects use it and I am too tired these days to try and convert them all over without begging every day for help like a homeless dog:):)
This works perfectly on 5.60 x32 and x64
I just tried it 2 hours before you posted this in a portable version of 5.60 x86 and still the same result. Just copied and pasted your latest code into the 5.60 IDE and it still doesn't render the fonts graphically.
No idea what I should or should not be doing. Any ideas? Some compiler switch maybe?
Forgot to mention that Bisonte confirmed it on his pb 5.6
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom
English is not my native language... (I often use DeepL.)
Fangbeast wrote:I swear that I pasted the original code as-is and it didn't render graphically.
That's because it didn't. I thought you meant it didn't display at all, language barrier. Anyway, it has been heavily edited and I doubt it will work in your programs now unless you update the code.