Before moving to Win10 OS the CON.SCREEN instruction worked. With Win10 the only way I can set the console size is via the console properties. Is there a work-around for this behavior?
Announcement
Collapse
No announcement yet.
Console Size
Collapse
X
-
This is from the console compiler ver 5.07.0205
To get the screen sizeto set the screen sizeCONSOLE GET SIZE TO nWidth&, nHeight& From the console compiler ver 6.04.0108CONSOLE SET SCREEN ncRows&, ncColumns&
con.size
HorizontalValue& = CON.SIZE.X
VerticalValue& = CON.SIZE.Y
To set the console size
CON.SCREEN RowValue&, ColValue&
KS
-
I have used a procedure called ConsoleResizeEx by Yuzree Esmera. Found it using Google search at (see posting #21 at top of page there) https://forum.powerbasic.com/forum/u...ge2#post636331
Comment
Comment