08-31-2023, 03:26 PM
(08-31-2023, 01:22 PM)bplus Wrote:(08-31-2023, 01:03 PM)grymmjack Wrote:...(08-31-2023, 12:27 PM)dbox Wrote: You could also use _ResizeWidth and _ResizeHeight to get the size of the current canvas before you call Screen without the need to Import the web library...That does not seem to resize to fit the content to the IFRAME though, like without scroll bars, etc.
But my question is: Will that mini QBJS version in QBJS work for the banner? I guess that question goes to @grymmjack because he is the one who needs to get it working in server. Also I am not understanding what was wrong with original Const xmx, ymx at 1400, 256? It won't fit my screen but I can move the screen around in both QB64 and QBJS to see all of it.
PS I really want to work code out in QB64 editor and test code there first but the $IF WEB ... works for me too.
I cannot say for certain, that's a great point. Let me setup the staging server with the QBJS banner idea I have tonight. I'm at work right now, and cannot do it until later.