PxPlus User Forum

Main Board => Discussions => Language => Topic started by: Michael Greer on October 29, 2024, 10:16:45 AM

Title: 'window' behavior
Post by: Michael Greer on October 29, 2024, 10:16:45 AM
Using windows I mocked up a program to be run over a telnet/ssh style connection in character mode.  This line:
1105 print 'CS','SB','textwdw'(0,1,50,4,10,"Quote Info",opt="c"),@(1,0),"Quote",@(1,1),"Room",'SF','goto'(0),'SB','box'(0,6,50,8,"Item Detail"),@(1,7),"Item",@(1,10),"Quantity",@(1,11),"Notes",'SF',

Works just fine.  Both windows display.  When I run it under Tiny Term, as soon as I do the 'goto'(0) window 10, the textwdw, disappears.  What am I missing?
Title: Re: 'window' behavior
Post by: EVa on October 29, 2024, 11:10:33 AM
Are you sure parameter 'B0' (Window base '0') is set when running TinyTERM ?
Title: Re: 'window' behavior
Post by: Michael Greer on October 29, 2024, 11:45:27 AM
That actually just causes the mnemonics to be ignored.
Title: Re: 'window' behavior
Post by: James Zukowski on October 29, 2024, 11:59:53 AM
It's been a LONG time since I worked in text-only (typically use WindX). Is it necessary that it be a child window?
Title: Re: 'window' behavior
Post by: Michael Greer on October 29, 2024, 12:20:23 PM
James, If I don't make it a child then when I do a 'goto'(0) it gets hidden.  On Windx when it is a child it stays visible, but on a character display it disappears.  Almost as if "child" isn't a concept in the character world.