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 ... 8 9 [10] 11 12
136
Programming / Generic Input
« on: January 20, 2020, 02:26:49 PM »
I'm trying to write a small generic dialogue screen that i can use for quick generic inputs [like enter qty]
on the obtain i was trying to do

i wanted to do something like

repeat
   obtain(0);mode$=hta(eom)
 until mode$=$0D$

i kept getting more data in my mode$ instead of $0D$

20500 ! ^1000
20510 GENERIC_INPUT:
20530 enter (PANEL_TITLE$),(PROMPT$),RETURN_VALUE$,err=*next
20540 let RETURN_VALUE$=""
20550 let PANEL_WIDTH=34
20560 let PANEL_HEIGHT=20
20570 let MULTI_LINE_WIDTH=32
20580 let MULTI_LINE_HEIGHT=1
20590 let MULTI_LINE_Y_POSITION=10
20600 call "CAIREPOS;PRINT_CENTERED_DIALOGUE",PANEL_WIDTH,PANEL_HEIGHT,(PANEL_TITLE$)
20610 print 'caption'(PANEL_TITLE$),
20620 print 'text'(@x(1),@y(3),@x(32),@y(8),PROMPT$,"W")
20630 let MULTI_LINE_CTL=100
20640 multi_line MULTI_LINE_CTL,@(1,MULTI_LINE_Y_POSITION,MULTI_LINE_WIDTH,MULTI_LINE_HEIGHT),fnt="*",opt="X"
20650 if not(nul(PANEL_TITLE$)) then let COLUMN_HEADING$=PANEL_TITLE$
20660 set_focus MULTI_LINE_CTL
20680 let RETURN_VALUE$=""
20690 let MODE$=""
20700 obtain (0)NIU$
20720 multi_line read MULTI_LINE_CTL,RETURN_VALUE$,MODE$
20760 print (0,err=*next)'pop',
20990 exit

137
Thin Client/WindX / Re: Most Common Setup
« on: October 16, 2019, 02:44:17 PM »
Mike and Jeff,

thank you both for your responses..
this is exactly the information i was looking for.

jeff

138
Thin Client/WindX / Most Common Setup
« on: October 15, 2019, 10:03:39 AM »
Hello List,

I have a question re: Common setup environments for Non-Web pxplus.
are people running the pxplus "application server" on a linux machine and then running windx to connect to that "Application Server"
i'm just curious what is the most common setup out there.

we are running rdp to a windows server...(and i dont think that is what most developers are doing)

thanks

jeff

139
Programming / Re: Determining Printer from Print Channel
« on: September 26, 2019, 07:56:31 AM »
Thank you the fin(print_channel,"Device") worked perfect...

140
Programming / Re: Determining Printer from Print Channel
« on: September 25, 2019, 11:04:14 AM »
Thank you everyone

The pth sometime shows it depending how I opened it
I was concerned about other printer opens but I can just do the winprt_setup read right after open and pass the return var around.
I was just wondering if there was some other way I was missing.

jeff

141
Programming / Determining Printer from Print Channel
« on: September 25, 2019, 09:33:32 AM »
Hello List

I know we can determine a printer from winprt_setup read printer$.
But if i have a call program that i pass print_channel into, is there a way i can determine the printer by examining the print channel.
like a FIN or something

Jeff

142
Nomads / Re: Right Click on Grid
« on: September 04, 2019, 02:49:32 PM »
Hi Mike,

I'm just curious would it be possible to invoke the "print" logic from the right click from say a  button on a panel?

Jeff

143
Nomads / Re: Right Click on Grid
« on: September 03, 2019, 04:30:27 PM »
Sorry about that.
I missed the List Options at bottom...

144
Nomads / Right Click on Grid
« on: September 03, 2019, 04:05:49 PM »
Hello List,
When we make our own right click menu for a grid. We lose the pxplus print function that allows us to print grid.
I tried to make my own menu option to  fire off *LIB\_PLUS\WINUTL\LISTPOPUP;PRINT_LIST but it just hangs saying "Loading" in the viewer.
Is there any way for me to have the best of both worlds.
Custom Pop-Up and a PxPlus Print.

jeff

145
Nomads / Re: Firing Off Query
« on: August 28, 2019, 09:50:44 AM »
I am actually all set on this.

One of my coworkers just told me that I could do this via the validation logic on the multi-line.
In the validation logic if value is null then auto pop query.

jeff

146
Nomads / Firing Off Query
« on: August 28, 2019, 08:55:43 AM »
Hello List,

Is there a way to fire off a query attached to a multi-line if user hits <enter> on field.
Maybe something like this in On Change Logic:

if _EOM$=$0D$ and NUL(CUSTOMER$) then fire off query?

Jeff

147
Programming / Sort On Header Click - ** DISREGARD **
« on: August 22, 2019, 01:24:01 PM »
Hello List,
So i have a grid that takes a long time to load.
After it loads we apply filters. So I thinking I was smart instead of loading again I said i'll manipulate row height to hide filtered rows
everything works fine until they click on a Grid Header and my rows height seem to all go back to default....

Is there a way to either
a.) preserve my row heights
b.) Detect a Sort on Header Click.

i see what is happening
the hidden rows are now being sorted into the positions where the row height is visible and vice versa.

148
Language / Re: save control 0
« on: August 21, 2019, 08:31:37 AM »
Thank you Mike. Seeing how the text on all these workstations did look a bit bigger than I'm pretty sure this is it.

149
Language / Re: save control 0
« on: August 20, 2019, 04:23:09 PM »
I should have added that the reason we do this instead of using one of the many screen capture utilities is because it has worked quite well with our WinTerms (dumb terminals).

150
Language / save control 0
« on: August 20, 2019, 04:16:47 PM »
Hello List,
we have always used the "save control 0" command as a print screen utility within our language. It takes an image of the active window and then we print it out. This worked fine for a long time.  But not on certain users screens instead of taking a snapshot of active window it is taking a snapshot of top left hand corner of screen.

Has anyone had any issues like this?
thanks in advance
jeff

Here is our environment:

- Windows 2016 (just switched to this)
- Terminal Services
- PxPlus 14.10 (just switched to this)


Pages: 1 ... 8 9 [10] 11 12