For some reason all my messages are being cut off and I need to add | add the end to manually add a blank line - but this is pretty cumbersome to do, see below:
Any idea what could have caused this and how to remedy this?
I am on Clarion 11.1.13855- the project was previously a Clarion 8 project - but this issue seems to only happen recently
I’m wondering if the calculation for the window size is ignoring SetFont changes. Can you disable AnyFont for the message box?
You might have to have Anyfont code before the message box to restore font & size back to default, then call the message and then call Anyfont again to get back to the required font & size again.
Clunky, but I suspect the calculation for working out the window size before its displayed is playing up somewhere.
What if you just compile the app with Anyfont disabled for now? Do you see the same thing again?
The thing is - it used to be good - but out of no where it’s broken - giving me a feeling that it’s Windows related, as also the background of my appframe is having issues (it’s stretched instead of tiled now) all without code changes
Sadly disabling AnyFont - at the least the way I can - doesn’t fix the message thing - but does fix my background issue.
With the way I can, I mean I can’t use the “Disable all AnyFont features” option in the extension, as this will remove certain variables and cause compile issues.
Besides it might be a bug in Clarion that is solved in Clarion 12 it might be worth looking at Capesoft Message box which replaces the Clarion build in message box. See CapeSoft MessageBox
It won’t have the problem you have right now. Might be worth a try if you are not able to switch to another Clarion build.
Show your ds_message() Procedure Window … code so we can see the exact code for how you defined your Window and Controls. I’d guess you have different Fonts on your Window, Prompt and Buttons.
Also a screenshot of that window in the Designer and Previewer may help.
I guess yes. I cannot remember why I set it to 0. It is worth a try.
And see Carl’s suggestion: look at the fonts of your ds_message() Procedure Window. In my procedure I did change the font explicitly to the font I use in my whole application. You are using AnyFont if I am well so that might need another adjustment for it.