PxPlus User Forum

Main Board => Discussions => Language => Topic started by: michaelgreer on August 09, 2023, 03:12:45 PM

Title: 'picutre' mnemonic
Post by: michaelgreer on August 09, 2023, 03:12:45 PM
Assuming a command like this: print 'picture'(10,10,200,200,"myfile.jpg")
Is there a way to have the image reside on the Windx client?  I have tried prefix the file name with windx and a full path - [wdx]c:\images\myfile.jpg, but to no avail.  Thanks!

Title: Re: 'picutre' mnemonic
Post by: James Zukowski on August 09, 2023, 03:37:30 PM
If I recall correctly, the 'picture' mnemonic requires the image to be on the local computer. So, if you're using WindX (as we are), you don't need to include the [WDX] or [LCL] prefixing, just the path to the image file. Ours reside in *bmp/
Title: Re: 'picutre' mnemonic
Post by: Mike King on August 09, 2023, 04:04:17 PM
Assuming you are running a current version of PxPlus you should simply have to enable the WindX auto-download for images and WindX will forward the image file to a temporary holding directory on the workstation.

This option is controlled by the +U system parameter.

When enabled the pathname in the PICTURE mnemonic should be the pathname to the image file on the host (server) computer and not the workstation.

For further details please see:  https://manual.pvxplus.com/page/windx/autoload.htm