PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - crcanassr

Pages: [1]
1
Programming / Re: converting providex to pxplus - *viewer*
« on: April 05, 2021, 09:53:10 PM »
I tried creating a printer to print to the nul port and it just does not work. 

Am I missing somethig?

2
Programming / Re: converting providex to pxplus - *viewer*
« on: April 05, 2021, 09:29:25 PM »
I tried using viewer but it does not work.  I an using:

CHN=HFN; OPEN (CHN)"*VIEWER*"
PRINT (CHN)"TEST VIEWER"
CLOSE (CHN)
 
It does not do anything.  It works fine on PovideX.

If I try *PDF* instead of *VIEWER* it does produces a PDF file. 

Now I am using the demo version of PxPlus to convert the application (point of sale) before we go on production with a full version.

We are running windows 10/64.

I'd try using a viewer printer as you suggest.

Thank you.


3
Programming / converting providex to pxplus - *viewer*
« on: April 03, 2021, 05:25:43 PM »
Does pxplus has access to a *viewer* printer to display reports to screen instead of sending them to a printer?

4
Programming / Re: Loading Nomads defined list boxes
« on: March 29, 2021, 03:30:11 PM »
Now, close(*) should no close the window as I have SET_PARAM 'WK' at the start of my program.
WK does not work even when launching PXPlus with -WK parameter.
Changed close (*) to close individual files and voila, it works!!!!

5
Programming / Re: Loading Nomads defined list boxes
« on: March 29, 2021, 03:00:48 PM »
Found it!!!

I was issuing a CLOSE(*) before loading the list box.  It looks like that under ProvideX, CLOSE(*) just closed the data files but not the library, but PxPlus does closed the library and therefore the panel.   .CTL is no required.

Thank you for your help.

6
Programming / Re: Loading Nomads defined list boxes
« on: March 29, 2021, 02:44:13 PM »
I get an error 65, meaning that the control is not found, and that can be because the panel containing it has not been drawn.

I call the panel using: PROCESS "mypanel","pos.en",COMPANY$

Before loading the panel performs "program1:init"

Then after loading it performs "program1:process_mylistbox"

Here is where I get the error.  The statement on program1 is the one I have posted.  Now the panel is loaded and therefore the list box should be accessible, but it is not.

Sorry to bother you.

7
Programming / Re: Loading Nomads defined list boxes
« on: March 29, 2021, 01:59:54 PM »
Thank you for your prompt response.

I added .CTL to the list box name, but still no dice.  The list box is part of a panel and defined as standard, COLUMN 1, ROW 1, WIDE 75, LENGTH 3.  Nothing else as the list box is populated by the program after loading it.  I even try to create a new panel  with just the list box and still no dice, it gets stuck on LIST_BOX LOAD.  What I have is:

LIST_BOX LOAD MY_LIST_BOX.CTL,1,"TITLE"

I know I will encounter some compatibility problems moving to PXPlus but right now this is my roadblock.

Thank you.

8
Programming / Loading Nomads defined list boxes
« on: March 28, 2021, 06:39:26 PM »
I am moving an application from Providex to PxPlus and I an stuck on loading a list box defined through Nomads.

In Providex I just use the directive:

LIST_BOX LOAD MY_LIST_BOX,1,"TITLE"
   
Where MY_LIST_BOX is defined in a Nomads screen with that control name. Providex finds the control and displays the list box.

I try the same on PxPlus and it fails.  It does not find the control.

Is it there something I am missing?  I looked at PxPlus documentation and it does not indicates how it works with Nomads.

Thanks in advance for your insight.

9
Programming / converting from providex to pxplus
« on: March 28, 2021, 12:02:42 PM »
I have an app running on Providex and as Providex is no longer supported I am looking at moving it to Pxplus.  I have downloaded the demo version of PXplus and played with Nomads and so far I have found any compatibility problems.  Is it there something I should be aware off?  The apps is a point-of-sale program, nothing fancy about it, just the GUI, and the background programs.  Thank you for your comments, guidance in advance.

Pages: [1]