PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Print Screen Within Child Window in WindX  (Read 144 times)

Skip.Dahl

  • Member
  • **
  • Posts: 10
    • View Profile
Print Screen Within Child Window in WindX
« on: June 28, 2021, 03:43:22 PM »
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

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3496
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: Print Screen Within Child Window in WindX
« Reply #1 on: June 29, 2021, 10:48:09 AM »
You might be able to tweak *control

Change:

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

To:

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)