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 - Jeffrey Ferreira

Pages: 1 ... 4 5 [6] 7 8 ... 12
76
Programming / Re: Does PID Exist
« on: May 20, 2021, 10:44:24 AM »
i just tried it on a 2012 server on several pxplus processes..it worked on  3 of them. i'm checking to make sure pid's are still out there after i execute sys(pid)....i'll go back to my old way for now.

77
Programming / Re: Does PID Exist
« on: May 20, 2021, 10:36:40 AM »
Hi All, it returned 0 for my process id 32212
and it works for a user i have called background that just runs a pxplus process all day.
I am a System Administrator on the machine.
The OS is Windows Server 2016 Standard
I cannot get it to work for any other user.

-:? sys(32212)
 0
-:? sys(2728)
-1
-:? sys(25868)
-1
-:? sys(32212)
 0

78
Programming / Re: Does PID Exist
« on: May 20, 2021, 09:55:35 AM »
Hi Allen, i dont know if this is a Unix/Linux thing but in windows every time I do that it returns -1 whether it exists or doesnt.

79
Programming / Does PID Exist
« on: May 20, 2021, 09:41:07 AM »
Hi All, i've done this with various dos utilities and powershell but does anyone have / know of some function/black box to pass in a Process ID in Windows and return a boolean if process exists.

80
Programming / Re: Reverse Engineer Print @
« on: May 13, 2021, 12:11:22 PM »
thank you Mike / that is perfect...

81
Programming / Reverse Engineer Print @
« on: May 13, 2021, 12:00:46 PM »
Hello All
If I have a text file that contains print @ like this

->print@(0),"Jeff",@(20),"PxPlus",@(50),"Canada"
Jeff                PxPlus                        Canada

I want to convert the string containing the print @ to the nicely formatted with spaces...
is there a way to do that.

Jeff



82
Language / Re: Nomads Adding Security Class to Control
« on: May 03, 2021, 04:11:27 PM »
you are right Jane.
that is the version...
thanks again

83
Language / Re: Nomads Adding Security Class to Control
« on: May 03, 2021, 03:52:58 PM »
Thank you Jane for the quick response Jane.  A lot of folks here are relieved to hear that.

84
Language / Nomads Adding Security Class to Control
« on: May 03, 2021, 03:10:28 PM »
Hello All,

We've used a feature of pxplus for several years now whereby we add a Security Class to a control if the Client requests "That they never want to see that field."
It has worked perfect over the years. No matter what group it is in, no matter what code hides/shows control, the customer will never see it because No One is a member of that security class.

Recently as we have migrated to new versions of pxplus, we are noticing it still hides the control but it leaves the query button on screen.

has anyone seen this and is there any fix we can add to any pxplus programs that could help solve this problem.

Jeff

85
Nomads / Re: Grid Check Box
« on: April 22, 2021, 03:42:17 PM »
Thank you Mike.
I will do this...

86
Nomads / Grid Check Box
« on: April 22, 2021, 02:48:28 PM »
Hi,

i'm working on a grid and i have a check box on grid but the user is complaining that they have to get the mouse right into that square to activate it...is there any way around this where i can increase surface area of clickable region...without making it a button and losing functionality of on/off.

thanks

jeff

87
Language / Re: Signal All Changes Multiline
« on: April 22, 2021, 08:25:05 AM »
Hi Mike,

i'm not doing a grid goto.
i'm using v16.2 .
i have done this before and it worked great (and fast) and customers love it because they can immediately see applicable rows as they type in keywords. 
i've changed the code for now whereby they have to hit <Enter> to execute search (so it is not immediate) and they are fine with that...

here is on change logic: (i hope i'm not doing something silly)

8000 ! ^1000
8010 KEYWORD_SEARCH_ENTERED:
8020 ! -----------------------------------------------------------------------------------
8030 local ROW=0
8040 local ROWSHIGH=0
8050 local TOTAL_KEYWORDS=0
8060 local KEYWORD_MATCH=0
8070 local KEYWORD_ARRAY_INDEX=0
8080 local ROW_HEIGHT=0
8090 ! -----------------------------------------------------------------------------------
8100 let KEYWORD_SEARCH$=ucs(cvs(KEYWORD_SEARCH$,35))
8110 let TOTAL_KEYWORDS=0 ! THIS IS CONTROLLING VARIABLE / IF THIS IS ZERO THEN WE WON'T LOOK FOR KEYWORD MATCH
8120 if not(nul(KEYWORD_SEARCH$)) then {
8130 let TOTAL_KEYWORDS=pos($20$=KEYWORD_SEARCH$,1,0)+1 ! Get Number of Spaces $20$ and add 1
8140 local dim KEYWORD_ARRAY$[1:TOTAL_KEYWORDS]
8150 read data from KEYWORD_SEARCH$,sep=$20$ to KEYWORD_ARRAY${all}
8160  }
8170 ! -----------------------------------------------------------------------------------
8180 let ROWS_HIGH=CUSTOMER_GRID.CTL'ROWSHIGH
8190 if ROWS_HIGH=0 then goto *return
8200 for ROW=1 to ROWS_HIGH
8210 let CUSTOMER_GRID.CTL'ROW=ROW
8220 read data from CUSTOMER_GRID.CTL'ROWDATA$ to iol=CUSTOMER_GRID.CTL'LOADIOLIST$,err=*continue
8230 let G.CUSTOMER_NAME$=ucs(G.CUSTOMER_NAME$)
8240 let KEYWORD_MATCH=1 ! DEFAULT TO MATCH FOUND
8250 if TOTAL_KEYWORDS=0 then goto *break ! IF NOT KEYWORDS THEN JUST BREAK OUT (I.E. SHOW ALL ROWS)
8260 for KEYWORD_ARRAY_INDEX=1 to TOTAL_KEYWORDS
8270 if not(pos(KEYWORD_ARRAY$[KEYWORD_ARRAY_INDEX]=G.CUSTOMER_NAME$)) then {
8280 let KEYWORD_MATCH=0 ! COULD NOT FIND ONE OF THE KEYWORDS SO BREAK OUT
8290 goto *break
8300  }
8310 next KEYWORD_ARRAY_INDEX
8320 let ROW_HEIGHT=tbl(KEYWORD_MATCH<>0,0,1.75) ! SET ROW HEIGHT TO 1.75 IF WE GOT MATCH / OTHERWISE SET TO 0
8330 let CUSTOMER_GRID.CTL'ROW=ROW
8340 let CUSTOMER_GRID.CTL'COLUMN=0
8350 let CUSTOMER_GRID.CTL'ROWHEIGHT=ROW_HEIGHT
8360 next ROW
8370 return




88
Language / Re: Signal All Changes Multiline
« on: April 20, 2021, 12:00:21 PM »
I tried and it did not work. I have done this numerous times before...I changed the results grid to a control and it still doesnt work. I maybe mistaken but i think it is the version of my pxplus.  When i activate signal all changes on a multi-line it does not seem to work... i'm going to remove it and they search will not be interactive for now...

89
Language / Re: Signal All Changes Multiline
« on: April 20, 2021, 10:57:19 AM »
I have not. I'm not sure what that is (Dynamic Property).  I will read about it and try it.

90
Language / Signal All Changes Multiline
« on: April 20, 2021, 10:07:22 AM »
Hi List,
i hope what i'm trying to do is not too outlandish. I've done it before with a grid (changing row height to zero to filter rows) but i'm trying to do with a list box.
Here is scenario.

As the User types into a multi-line [like a keyword search], i want to reload list box with each key stroke... [so on multi-line i have signal all changes]
however after i reload list box i cannot get cursor to stay at the end of the Multi-Line so they can type next character
i've fiddled with selectoffset,selectlength but i cannot get to work.
has anyone had any luck doing anything like this?

Jeff

Pages: 1 ... 4 5 [6] 7 8 ... 12