Re: SWITCH problem - need thoughts

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hallo

jessedavis said...

[...] NewFont seemed to return some handles that were "out of range" when passed to SetFont causing the program to crash. I'll work on this later.

global atom font_18 = NewFont("Courier New",18,True,False,False) 
SetFont(cat_box,font_18) 

Thanks to everyone, jd

I can't reproduce this. I only use 4.0.6 at the moment (cbee492464f0) For testing you can replace SetFont():

SetFont(cat_box,font_18) 
-- replace with 
SendMessage(cat_box,WM_SETFONT,font_18,True) 

Further i can confirm the strange behaviour (changing constant) with EuWinGui, but i can't reproduce it on demand.
EuWinGui also sometimes crashed silently setting the font.

Andreas

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu