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 - MikeinFL

Pages: 1 [2] 3
16
Nomads / *WINGRP;CLEAR
« on: July 21, 2020, 11:21:24 PM »
Was CLEAR removed as an action for *WINGRP?   Documentation does not include CLEAR as a WINGRP action. However this:

CALL "*WINGRP;CLEAR",MULTI_LINES.GRP$

works ok in V5 but not the latest versions.

I think it's only meant for multi_lines.  Wish list to bring it back.

Mike

17
Nomads / _eom$ ignores F2
« on: June 19, 2020, 04:47:42 PM »
6/21/20 UPDATE:

_eom$ is not blank now (solved), but F2 brings up query when only shift-F2 should bring up the query on a multi-line.  Shift-F2 does bring up the query but so does F2.  I need to detect F2 without shift but can't.  How to stop query from coming with F2?

Mike

------------ CANCEL THIS ----------
I need to detect F2 pressed on a multi-line.  On ver5 it works ok when F2 is pressed on a multi-line I process sub to read value in _eom$ and it returns expected $82$ for F2.

But on v14.10 and v17.00 it's null.  There is nothing in e_o_m$ as well.  And F2 pulls up the query which I don't want it to.

Do I need to set something on the multi-line or panel?  And should I read _eom$ or e_o_m$ ?  Documentation shows e_o_m$ not _eom$.

Thanks,
Mike

18
Update.  Still need help with remote rdp's timing out connecting to PxPlus server.  Their network tech hasn't been able to resolve it and say they are running out of server resources but will be upgrading.

Here's what's happening. 

Server1 is PxPlus 2019 demo. 

Server2 is Windows 7 and has a Windx *ntslave shortcut on desktop that runs ProvideX on Server3 port 10000, and also a Windx simple client shortcut to run PxPlus 2019 demo port 4093

Server3 is ProvideX on Windows Server 2003

All run in virtual environment on Linux.

Several remote users have rdp setup by their tech to run simple client on server2.  Sometimes mystartpgm will not run and simple client times out.  But if before timeout I click on server1 desktop, it immediately runs. 

I'm also remote and their tech set me up a different connectiion using gateway.  The other remote users have rdp. I have not had the problem for 3 weeks.  I thought it was fixe but tested a remote rdp user today and they still have the problem. 

We already know the server2 cpu spikes to 100% briefly when simple client connects. Before, the cpu was always in the 90% all day long.  Then tech began nightly reboot to close stuck remote logins and that fixed my timeout using gateway connect.  But it didn't help remote rdp user.  I've asked tech to switch remote users to gateway since mine works.  But that's probably not the solution.

What I'm thinking is that server2 just can't handle having two client shortcuts that run to two different servers.   I've suggested another server just for the simple client shortcut, and they would do that but are out of servers to do so.

I was hoping to resolve this before moving them to PxPlus.  I put the customer on hold to pressure their tech to fix this problem first.  Although it may go away once they move off of server3.  Again, they say they are out of server capacity and will be upgrading.  They're having a problem with that at the moment.

The weird thing when I click on server1 desktop it does something to make server2 see it and simple client connects.  To me that doesn't seem to indicate server capacity. I'm not a network tech and don't know.  Especially with Linux underneath.  Maybe it's a setting in server1.  So I thought I'd ask you all again. 

Any suggestions?   Thanks

19
Nomads / Re: Error 26 invalid control on v16 but not v14
« on: April 14, 2020, 03:31:32 PM »
That's it, thanks!  It was set to on in start_up, but i removed it, ran pxplus again, and it was still on.  So at the moment I can't find it anywhere in my code so I had to add a line to turn it off.  it's also not one of the parameters in **.  Is there somewhere else not in my code it might get turned on? 

20
Nomads / Error 26 invalid control on v16 but not v14
« on: April 13, 2020, 06:52:14 PM »
I have a string type multi-line A1.CTL on a panel.

I have this line of code:

BUTTON DISABLE A1.CTL

It's not a button.  It's a multi-line.  When run on v14.10.0000 nothing happens, ignored.  But when same code run on another machine with v16.10.0000 demo, the code produces error 26. 

After the error I do this to show it's a valid multi_line:

? a1.ctl
10002

Do I have something set different between the the two machines?  Is there an ignore set/not set in nomads somewhere?  Or is this a different error behavior between v14 and v16?  I prefer the error.  Thanks

21
Nomads / Re: 2nd list box not responding to single click
« on: April 07, 2020, 11:05:13 AM »
I don't see any on focus events on listbox2.  In testing, the only thing in my perform code was this:

LISTBOX2_CLICKED:
MSGBOX "OK"
RETURN

Nothing worked to get LISTBOX2 perform code to run with a single click.  But then you got me thinking to try turning Auto signal off on listbox2.  I did that and single click works.  But then only double clicks work afterward.  So I added this in the perform code:

LISTBOX2.CTL'Auto=1

And now single click works first time and each time after. So I now have listbox2 Auto signal unchecked as default in attributes setup, which gets single click to work on the first try, and then I turn auto on with the above code.  Single click now works first and each time after.

Didn't need to do this with Listbox1, it's set default Auto on.

It's working now so I will leave as is.

22
Nomads / 2nd list box not responding to single click
« on: April 06, 2020, 09:45:49 PM »
Help with a list box.

Got a panel with two 2 list boxes set the same way as: report view and automatic signal all changes, and full line highlight on.  Listbox1 is detail lines.  Listbox2 is completed contract#'s.   Multi-line1 is contract#.  When entering qty, price, etc they click ADD and I load listbox1.  The focus goes back to QTY multi-lines so they can enter details for a new row.  Even with focus (blinking cursor) on QTY, they can click on any row in listbox1 and Listbox1 performs the logic setup under When Entry is Selected from List Box first time, and each time.

However listbox2, a list of completed contract#s requires a double click first, and then afterwards a single click works as long as it has focus.  How can I fix this so listbox2 responds on a single click the first time like listbox1?  I want this to happen when focus is on contract# multi-line. 

I found that after the invoice is done instead of putting focus on the contract#, if I put focus on the listbox2, THEN it works with single click. I did this with NEXT_ID=LISTBOX2.CTL   But I want focus on contract#, not listbox2.  Possible?

I've tried all kinds of this/that.  Perplexed.

PxPlus Version 14.10.0000

23
Programming / Re: *CONTROL displays error 12 popup
« on: March 30, 2020, 04:05:55 PM »
I'm not sure if we customized the Providex *control or not.  It's not pw protected so maybe we did.  This line in Providex has an * in front of CTL:

7020 LET CTL.PG$="*CTL"+STR(SV_CTL)

Doesn't the * in front allow that any first character would run?

24
Programming / Re: *CONTROL displays error 12 popup
« on: March 30, 2020, 01:28:20 PM »
Was not a typo.  I changed file name from _CTL-999 to $CTL-999 and it works ok now in PxPlus.  Thanks! 

25
Programming / *CONTROL displays error 12 popup
« on: March 30, 2020, 11:29:31 AM »
I have a button -999 in a program.  I have my _CTL-999 program in my app folder.  Using ProvideX v5 it the button runs my -CTL-999 ok.

Same code using Pxplus 2017 v14.10.0000 and 2019 v16.20.0000I get an error 12 popup box. 

As a test, I renamed *CONTROL in 2017 \lib\ and copied the old *CONTROL from ProvideX to it.  I no longer get error 12 box with my button and _CTL-999 and they work. 

I need my button -999 to work.  The newer *CONTROL is pw protected.  Is it ok just to use the old *CONTROL program in PxPlus?  Is there a quick fix or should I submit as a ticket?

Thanks Mike

26
Nomads / Re: SHOW/HIDE Fonted_Text?
« on: March 27, 2020, 01:30:04 PM »
This can be done through a group assignment.

I forgot about that, thanks!

27
Nomads / SHOW/HIDE Fonted_Text?
« on: March 27, 2020, 12:30:14 PM »
I searched the documentation and can't find how to SHOW or HIDE the FONTED_TEXT control on a panel?  My guess it's not really a control?  It can be initially hidden in general attributes which works.  Thanks

28
Update- they found the cpu was spiking to 100% sometimes on the client shortcut machine.  They are takings steps to reduce the cpu load.  Hopefully that will fix this. 

29
Another possibility might be if you are RDP'ing into a machine that is hiberating or sleeping.  Your RDP might connect but the system is bogged down waking up all the services and reloading processes into memory.  It may also be having to restarting the network connection to the server as it could have been put to sleep.

I didn't even think to look at the second machine that rdp runs the client shortcut from.  Sleep was on 10 minutes and Turn off Hard Drive was 20 minutes. I just changed both to never.  Is there anything other setting to prevent idle?   Thanks

30
Does the server that is seeing a slow start of the pvxplus.exe have a connection to the internet? If it does then does it limit outbound connections in any way? Sites/Sockets ?

Gord, great to see you on the forum!  I will ask them about this.

Mike

Pages: 1 [2] 3