PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: 1 ... 8 9 [10]
Web Services / Re: *plus/web/request with Proxy server
« Last post by Bruno Biancucci on January 27, 2023, 11:45:51 AM »
I'm by no means an expert on the matter, but I do use request program all the time.  For the most part in stock form, it does a good job.  You can open this program and adjust it or a copy.  I had a case where I had to pull images from a remote site and request didn't quite work right with the expected payload, so I made a very small adjustment to the code and it's been flawless.  In another case, I wanted more details like timing and raw data being sent/received, so I added a log file; which turned out to be very help full.
I'm not sure about proxy details, but if this information needs to be included in the HTTP header, check out the "extrahdrs$" field.  I have to use this from time to time if certain credentials need to be passed to the server.
Web Services / *plus/web/request with Proxy server
« Last post by Mark Brown on January 27, 2023, 09:54:09 AM »
Are there any plans to enhance *plus/web/request to work with a proxy server that requires a PEM file, username and password?

It would act similar to this curl command with JSON data:
curl <destination url> --cacert <filepath of PEM file> -x https://<username>:<password>@<proxy server url> -H "Content-Type: application/json" -d "<json data>"

Mark Brown
Programming / Re: Drag and Drop
« Last post by Thomas Bock on January 26, 2023, 03:46:23 AM »

Thank you. I'll take a look at it.
Programming / Re: Drag and Drop
« Last post by Mike King on January 25, 2023, 10:05:25 AM »

PxPlus doesn't have the ability to directly provide a list box that you drag files out of, however what you can do is if the files you want to drag can be placed in a directory you can create a Shell.Explorer control on your PxPlus panel pointing to that directory.  Then the user can drag the files out to external applications.

For example:

def object h,@(10,10,30,10)="Shell.Explorer"

This will create you a window where the directory will be listed and the user can drag the files out of.

One trick you can use if you have a large selection of files in a common directory but only want to allow the user to select specific files is to create a dummy directory then using the Windows mklink command create links to just the files you want the user to have access to.
Programming / Re: Drag and Drop
« Last post by Thomas Bock on January 25, 2023, 01:34:04 AM »

I want to drag files from a PxPlus listbox and drop it on a control of an external application.
Programming / Re: Drag and Drop
« Last post by Devon Austen on January 24, 2023, 08:05:24 AM »
You can allow external applications to drop file names onto a list box by using this directive.

    DROP FILE ON dest_ctl_id RETURN new_ctl_id

Whenever a file is dropped onto the dest_ctl_id control, the system will generate the CTL event specified by new_ctl_id.

The application can get a list of the file pathnames being dropped from the FIN(0, "DROPFILES") function call. All pathnames will be fully expanded and separated by a SEP character.

This can be found in the docs here: https://manual.pvxplus.com/?directives/drop_on.htm#filedrop
Programming / Drag and Drop
« Last post by Thomas Bock on January 24, 2023, 01:28:48 AM »
I have a listbox containing filenames and want to drag a file from it to another non-PxPlus-application. How can I do that?
Wish List / Re: Open Directory +INFO
« Last post by James Zukowski on January 23, 2023, 11:41:11 AM »
This is for the online manual, and it's something that a lot of people probably don't know about but would find helpful. I probably should have save "cross-reference" instead of "link".
Wish List / Re: Open Directory +INFO
« Last post by Mike King on January 23, 2023, 10:25:01 AM »
Are you looking for a link in the Windows CHM or on the web site manual.pvxplus.com?

If your want this on the CHM, simply find and display the page you want then in the left edge pane select Favorites.  At the bottom of the left pane you will find a "Add to Favorites" which will add the page currently displayed to the list of favorites.  Once added you can right click the entry on the favorites list and rename it to whatever you want.

If you are looking for a link to the Online manual, simply create a bookmark in your browser to:


You can find and create links directly to any page in manual.pvxplus.com by locating the entry you want in the left edge pane of manual.pvxplus.com and select 'Copy Link'.  The link that gets copied will display just the page (no left/right panes), but if you want the normal display with the two panes simply changes the /PXPLUS/ in the link to /?/
Wish List / Open Directory +INFO
« Last post by James Zukowski on January 23, 2023, 09:59:35 AM »
Could there be a link in the documentation from the OPEN directive to the File Handling -> Processing Data Files -> Accessing Directory Files page, perhaps even to the Special Directory Processing paragraph...?

I use it enough to know what's there, but not enough to know exactly what is where.

Pages: 1 ... 8 9 [10]