PxPlus User Forum

Twitter Twitter Twitter

Recent Posts

Pages: [1] 2 3 ... 10
1
Programming / Re: Spawning a session
« Last post by James Zukowski on Today at 08:58:00 AM »
And to make things easier for the user, you could include a "Copy" button with each data field which will put it on the clipboard. They could then just click in the field and paste it.
2
Programming / Re: Spawning a session
« Last post by EVa on Today at 03:19:11 AM »
As this appears to be a Nomads application, can't you use a concurrent window instead of spawning a new (but completely separate) session ?
3
Programming / Spawning a session
« Last post by Mike Hatfield on Today at 01:34:40 AM »
Hi All, I'm running a plus/cs windx session.
I want to be able to open a new window/session from the current program.
In that new window I want to have it run a program that will display some lines of customer information text. When I find the text I want to switch back to the calling windx session and be able type in some of the text. When I'm done I want to close the new window/session either by clicking on the new session 'x' or issuing a close/drop or whatever in the calling program.
 
Would you believe in the nearly 26 years of programming with Pvx/PxPlus I've never had occasion to do this.
Is this accomplished by spawning a session or is there an easier way. I did do a test with *plus/cs/spawn. It gives me a new session window but none of the global variables from the calling application.
If this is the correct approach how would I place the following in the spawn argument cmdline   -  PROCESS "ARCM_INFO",%PATH_ROOT$+"dictionary/SM_CZ.EN",R2$

I don't seem to be able to do this with a dialogue window. IE Once inside the dialogue window you can't swith back and forth between the dialogue and calling program.

Thanks
4
Programming / Re: strange error 61
« Last post by James Zukowski on April 16, 2024, 12:53:18 PM »
Have you tried separating the OPEN from the LOCK?
5
Programming / Re: strange error 61
« Last post by Thomas Bock on April 16, 2024, 10:24:31 AM »
This is a WindX session and the security options are properly set.
The error occures at random. But how can that be? The file has just been created, so PxPlus must be able to open it.
6
Programming / Re: strange error 61
« Last post by Devon Austen on April 16, 2024, 07:52:52 AM »
One of the reasons for a error 61 is:

   •  When using WindX, remote access ('WindX authorization') has been denied.

Is this running via WindX?

If so make sure you have your WindX Security setup correctly to not deny access.

For info about WindX security check here:

https://manual.pvxplus.com/?windx/Windx%20Security.htm
7
Programming / strange error 61
« Last post by Thomas Bock on April 16, 2024, 04:35:17 AM »
I don't understand why the code below throws an err 61 sometimes

Code: [Select]
BUSY_FILE_NAME$ = "[lcl]Busy.txt"
serial BUSY_FILE_NAME$, err = *next
if tcb(2) {
rem in case the file could not be created ...
} else {
busyFile = hfn
open lock (busyFile) BUSY_FILE_NAME$
rem this throws error 61 ???
}
8
Off Topic / SBOM generation
« Last post by cwellis67 on April 15, 2024, 11:12:49 AM »
Has anyone had to create an SBOM for their PxPlus product, and/or does Pvx Plus Technologies provide an SBOM for the language?
9
Programming / Re: Help with Initial Value Load Error
« Last post by Mike King on April 13, 2024, 11:35:31 AM »
The CMD_STR$="U...." loads the designated panel passing it all the current variables and leaves both panels active -- that is the controls on each panel are all active and they share a common environment (variables).

The PROCESS command is basically like a CALL.  The current panel will be deactivated and panel designated will be loaded and displayed with its set  of variables.  Only controls on the new panel will be active.  When the user closes the panel control will return to the program/panel that initiated the PROCESS directive.  Now you can pass values on the PROCESS command, these will be mapped into the variables ARG_1$, ARG_2$, ... in the new panel using the same rules as a CALL directive in terms of passing arguments.
10
Programming / Re: Help with Initial Value Load Error
« Last post by nrh7 on April 12, 2024, 06:14:49 PM »
WOW! Amazing, I was using CMD_STR$="UPanelName" to open the panel from the menu but changing it to PROCESS fixed the listbox error, THANKS A BUNCH!, I gotta try the other methods too just in case.
Pages: [1] 2 3 ... 10