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 [2] 3 4 ... 12
16
Language / ** DISEGARD ** -> Mixed Case in Keys
« on: August 03, 2023, 12:07:07 PM »
Hi List,
i was about to embark on a project for a client and i figured i better confirm the following before i begin.

we have an index -> The Customer's PO Number
sometimes it comes in Mixed Case .......

my question is -> are Keys always case sensitive...
i'm pretty sure the answer is yes but i dont want to start this workaround unless i'm 100% sure....i just want to make sure there is no cool feature in pxplus that i'm unaware of

thanks

jeff

17
Nomads / Re: Checking if 'Fired Off From' Nomads
« on: July 14, 2023, 10:17:44 AM »
Mike that is perfect ...thank you...

18
Nomads / Checking if 'Fired Off From' Nomads
« on: July 14, 2023, 09:17:23 AM »
Hi All,

So often times we will gosub or perform a routine that is also the code behind a multi-line. For Example CUSTOMER_ID_ENTERED. 

When we want to know if this came from nomads or from code we check ID$="CUSTOMER_ID".
I know it may seem like I'm splitting hairs but i feel this is not 100% foolproof and i have case where I really need to know (was this routine fired off from Nomads via the multi-line)

is there a way i can be 100% sure?

thanks

jeff

19
Programming / Re: Screen Position of a Control
« on: June 26, 2023, 07:53:20 AM »
Hi Mike,

I'm just experimenting with something where i'm trying to auto click a button if it pops up during an automated process.

jeff

20
Programming / Re: Screen Position of a Control
« on: June 21, 2023, 03:44:28 PM »
i think i figured it out.
this obj command gave me the position in pixels.
i was then able to reference it in powershell and hover mouse over button..
that is what i was looking for

1520 let WINDOW_OBJ$=obj(0)
1530 let WINDOW_COLUMN=int(dec(WINDOW_OBJ$(21,2)))
1540 let WINDOW_LINE=int(dec(WINDOW_OBJ$(23,2)))
1550 let BUTTON_OBJ$=obj(BUTTON_1.CTL)
1551 let BUTTON_COLUMN=int(dec(BUTTON_OBJ$(21,2)))
1552 let BUTTON_LINE=int(dec(BUTTON_OBJ$(23,2)))

21
Programming / Screen Position of a Control
« on: June 21, 2023, 08:44:27 AM »
Hello All,

i'm trying to figure out where a pxplus control is positioned relative to the monitor not relative to the pxplus panel.
i'm also not sure what is standard unit of measure for stating this (i think it is pixels)
can anyone help me out?

thanks

jeff

22
Programming / Re: Create/Update Excel Workbook
« on: June 06, 2023, 02:42:57 PM »
Oops - I thought that was Tom posting that.

23
Programming / Re: Create/Update Excel Workbook
« on: June 06, 2023, 02:30:11 PM »
Hi Tom,
I'm not sure at what point you are getting the error, but are you at least able to do this:

def object excel_obj,"Excel.Application"
filename$="c:\temp\customers.xls" ! Replace filename$ with your file name
workbook=excel_obj'workbooks'open(filename$)

can you get that far without an error?

jeff

24
Nomads / Re: HTML Tip
« on: May 22, 2023, 08:22:17 AM »
Hi Mike
i was trying to mimic what the editor was doing so i did something like this

<p>Hinge Locations are measured from Top of Door</p>
<p>Hinge Location 1: 7-12</p>
<p>Hinge Location 2: 7-12</p>
<p>Hinge Location 3: 7-12</p>

and it put a scroll bar (this is a general summary of html...any how i changed it to just
put <br/> after each line and the scrolling stopped...but i would like to know if i did anything wrong.
i dont think i was exceeding a limit.

25
Nomads / HTML Tip
« on: May 19, 2023, 03:10:48 PM »
Hi All,
if i make a long html tip inside of nomads it displays nice.
if i do it in code via the tip$ then i'm getting a vertical scroll bar (and the tip is not even that long).
i'm using version 16.20 .
does anyone know a way i can rid myself of this vertical scroll bar
thanks
jeff

26
Programming / Auto Clicking Buttons and entering data
« on: May 11, 2023, 03:13:11 PM »
Hi List,
i have handled this different ways in the past and i'm wondering if someone has some input on a better way to handle it.
I have a gui screen that has been around a while. The client is giving me a file which is the input for the screen. But unlike something like Excel.Application there is no api for the screen.  Is there a better way to simulate the user clicking on buttons and filling out the fields than what i have done in the past which is to:

a.) fire off screen with some argument saying Auto Mode
b.) then go to a routine that will do something like this
  1.) Item_Number = passed in item Number
  2.) gosub item_number_changed
  3.) Quantity = passed in quantity
  4.) gosub quantity changed

thanks jeff

27
Programming / Re: Preview / Viewer Object
« on: April 10, 2023, 08:39:13 AM »
Hi Stéphane,

Yes that is it.
Thank you !

jeff

28
Programming / Re: Preview / Viewer Object
« on: April 07, 2023, 07:19:12 AM »
Hi Mike,
I'm sorry I should have given an example.
He gave me the code to do something like this:

def object viewer_obj,"Viewer"

and then i could automate some of the functions like saving it.
is this still possible?

29
Programming / Preview / Viewer Object
« on: April 06, 2023, 02:15:54 PM »
Hi List,

A long time ago Gord Davey helped me invoke a viewer object where i could interact with the viewer. I have lost the code and I cant remember how to do it. Can anyone help me with that?

thanks

jeff

30
Language / Re: *X Mnemonic / Print Channel Timing Question
« on: March 07, 2023, 04:32:30 PM »
Thank you Allen and Mike. I appreciate it.

Pages: 1 [2] 3 4 ... 12