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
1
Nomads / Options/Change Directory not keeping
« on: October 14, 2020, 03:56:41 PM »
I change the path in change Directory, but a new PvxPlus session defaults back to the Pvxplus directory, and I have to change it back.  How to have it store my path?  v14.10.0000 
Thx


2
Nomads / Re: Determine previous control that had focus?
« on: September 16, 2020, 11:07:59 AM »
You can make that button a 'signal only' button so the focus doesn't change.  And you can check MSE - position 25,2 contains the object that lost focus.

-Eric-

That did it, thanks!

3
Nomads / Determine previous control that had focus?
« on: September 16, 2020, 10:22:01 AM »
I looked and can find how to know the previous control that had focus? 

Have an exit button that will ask "Abort?" and if No will return to the last multi_line or control, but now the exit button has focus.


4
Programming / Re: Open file explorer to specific directory?
« on: July 22, 2020, 08:34:12 PM »
Works!  I was trying everything but never but the "." at the end!  thanks!

Try using system_help with the folder you want to open +"\.":
For example, this should open the current working directory of the pxplus server or windx session:
system_help lwd+"\."

5
Programming / Open file explorer to specific directory?
« on: July 22, 2020, 06:05:20 PM »
How to programmatically open file explorer to a specified directory?  Not asking to chose a file or directory like   GET_FILE_BOX does but to have explorer just open.  SYSTEM_HELP EXPLORER.EXE opens explorer but I don't see how to indicate a path directory to open to.

Mike



6
Nomads / Re: *WINGRP;CLEAR
« on: July 22, 2020, 10:29:00 AM »
We must have, thanks.   


I suspect you have a customized *wingrp on your V5 system since there is no CLEAR entry point in *Wingrp on version 5.

ProvideX (Ver:5.14/MS-WINDOWS) Serial Number:0514-001-xxxxxxx
(c) Copyright 1987-2003 Best Software Canada Ltd. (All rights reserved)
  Website: http://www.pvx.com
->load "*wingrp
->password "password
->ll
 List Labels
0030 ENABLE:
0070 DISABLE:
0110 HIDE:
0170 SHOW:
0230 LOCK:
0280 UNLOCK:
0510 HIDE_ALL:
0520 SHOW_ALL:
0530 ENABLE_ALL:
0540 DISABLE_ALL:
0550 DO_ALL:
1010 GET_CTLS:
1110 BAD_GRP:


We also checked version 4.23 and version 6

7
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

8
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

9
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

10
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? 

11
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

12
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.

13
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

14
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?

15
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! 

Pages: [1] 2