Skip to main content
Solved

How to programmatically change the screen size in Wintegrate.

  • August 2, 2021
  • 4 replies
  • 0 views

I figured this out once, but never incorporated it into my system using Wintegrate.

How do you change from 80x24 to 132x51 in a program?

Thanks

Mark Laursen

Best answer by Michael Archuleta

I figured this out once, but never incorporated it into my system using Wintegrate.

How do you change from 80x24 to 132x51 in a program?

Thanks

Mark Laursen
Try CALL WIN.COMSUB('Set Columns=132') ; CALL WIN.COMSUB('Set Lines=51')

4 replies

Michael Archuleta
  • Participating Frequently
  • 9 replies
  • Answer
  • August 3, 2021
I figured this out once, but never incorporated it into my system using Wintegrate.

How do you change from 80x24 to 132x51 in a program?

Thanks

Mark Laursen
Try CALL WIN.COMSUB('Set Columns=132') ; CALL WIN.COMSUB('Set Lines=51')

Michael Belme
Forum|alt.badge.img+1
  • Inspiring
  • 14 replies
  • August 3, 2021
I figured this out once, but never incorporated it into my system using Wintegrate.

How do you change from 80x24 to 132x51 in a program?

Thanks

Mark Laursen
Mark,

You can also call a wIntegrate script if that's any easier...

*test script to set columns
Set Columns=132
Set Lines=51
EndScript

Regards,
Michael Belme

Manu Fernandes
Forum|alt.badge.img+2
  • Inspiring
  • 257 replies
  • August 4, 2021
I figured this out once, but never incorporated it into my system using Wintegrate.

How do you change from 80x24 to 132x51 in a program?

Thanks

Mark Laursen
Hi Mark

After CALL WIN.COMSUB, do not forget to reflect the values on server's side with EXECUTE 'TERM 132,51' then paging works accordingly. 

I hope this help.

  • Author
  • New Participant
  • 4 replies
  • August 20, 2021
I figured this out once, but never incorporated it into my system using Wintegrate.

How do you change from 80x24 to 132x51 in a program?

Thanks

Mark Laursen
Michael - Thank you. That works beautifully, I created a subroutine that I call with the Columns and Lines and it sets the Term and changes the size.

Now I need to put that into my screen generator and so that my error message line always comes out in the correct place.

Thank you All.