Print Screen Within Child Window in WindX

Started by Skip.Dahl, June 28, 2021, 03:43:22 PM

Previous topic - Next topic


Just upgraded to Ver17 until 18 is released, did not have this issue on the older WindX version.
when in a child pop-up window print screen does ask for the printer but doesn't print.
Looking into the program *pr.opn I am finding its sending a default line prompt of 21.
On some of the child windows I do get the error Error 29: Invalid Mnemonic or position specification.
I am guessing its due to the child window is smaller then the 21 Line default it wants to use.
Is there not a way for the print screen program to know the window size its currently in ?

Mike King

You might be able to tweak *control


8020 LET mx_ln=MXL(0)+1,mx_cl=MXC(0)+1


8020 LET mx_ln=MAX(25,MXL(0)+1),mx_cl=MAX(80,MXC(0)+1)

This should allow it to avoid the error 29.

(BTW: The password for *control is "password" so as to avoid trace output)
Mike King
President - BBSysco Consulting