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 - Bob Sosbee

Pages: [1]
1
Programming / Re: Does Tree View list boxes support colors?
« on: February 11, 2020, 12:48:13 PM »
So I can only use bitmaps.  So far I'm using the !Tree... bitmaps.  Am I able to put more than one bitmap a record?

2
Programming / How to get tree view branches to open programmatically
« on: February 10, 2020, 06:38:57 PM »
Along with my other question about color, is there a a way to get the tree view to open the branches and leaves after or during display?

By default, we only get the root:

/foo

What I'd like to do is based on if the line is checked, break out the branches
/foo/fighter
/foo/fighter/soldier
/foo/fool

Looking through the documentation, I don't see a way to do this.  Knowing Mike, there has to be a way, I'm just not seeing it.

3
Programming / Does Tree View list boxes support colors?
« on: February 10, 2020, 06:33:32 PM »
Customer would like to highlight in an BOM tree view those components they have sufficient stock for as Green and insufficient stock for in Red.  I can set a check box, but I can't seem to get any colors to work.

It Tree View does support colors, can someone show me a sample line on setting the color on the list box write, or does it have to be done as an attribute?


4
Understood.  Mainly, I was curious why this would be an issue with just the bottom section of the resizable dialog would trigger this.  Since it was occurring in both packages I thought it might be in the windows controls that draw the dialog.

I'll report it to Sage.  If I'm lucky Fred McGuirk may take a look at it.  Otherwise I have a work around.

Thanks for the feedback.

5
I'm using a panel in which we use the Shell.Explorer.2 control.  On some systems, when they click outside of the panel, we get an error 65 in _winproc.SAD at line 340.  It isn't consistent.  Has anyone come across this behavior before?  If so, can you point me in the right direction to catch this?

My issue is that we cannot duplicate this on our test systems, but the customer can.  The line in _winproc.SAD is setting (or getting) the panel dimensions.  Is there a required Windows patch that may affect this?   ???

Edit:
Watching the customer, I noticed what they were doing.
The line that fails is 340 LET O'_proplist$="Top,Left,Width,Height" - I can consistently trigger the error by clicking on the bottom area of the dialog.

Found it:  If the dialog is resizable, it will consistently fail if you click on the lower section.  Turn off resizing, issue goes away.

Since others have this issue across multiple versions (ours is Sage, but previously it was mentioned in PxPlus 15.1).  Is there any cure for this?

6
Programming / Re: Odd error 13 question
« on: March 15, 2019, 02:19:43 PM »
Yeah, it took some hunting to find where it was open as object.  Thanks!

7
Programming / Odd error 13 question
« on: March 08, 2019, 05:27:45 PM »
I'm working in a journal process that I've overridden, and I invoke a method in another object.  The enter list of this function matches, and the data flows through to the new object.  One of these fields is the file channel of the invoice header.  I would expect that I can read the invoice header inside of my function to prefix the data.  On the read however, I get an error 13.  Anything other than FID/FIB/PTH gives me the error 13.  Doing a FID on the file channel passed it is pointing to the correct file.
If I open the same file on another channel, then I can do the read.  If I exit the function the file channel acts normally.  There must be a reason for this behavior.  Does anyone know what it may be?

8
That's fine - we're building the EXE, so we control the version upgrades.  I'm also building a part of our EMV suite to check that the client is current last updated, so if a new version is auto downloaded, I check the actual version (not using dates) and know if I need to run it to update the EMV client.

That's what I needed.

9
Programming / Looking for dll call to retrieve properties from an EXE
« on: March 05, 2019, 02:54:09 PM »
I seem to remember from one of the old Direxions or possibly a Sage MD event there was a DLL call that we could use to retrieve the properties from a file or EXE.  Does anyone have an example or can point me in the right direction?  I have to check if I need to run an update when a file is downloaded, but only if the EXE product version changed.  See attached example.

10
Language / Events programming
« on: January 02, 2019, 03:54:49 PM »
I'm working with events using the Windows IEFrame.dll, and using PVXTLB generated three event shell programs.  Do I need to use these generated programs as is, or can I take the code and add it to my class program?  I can do it either way, but if possible I would want to put the event programming into a program that matches what I want to do

Example:
Generated program:  DShellWindowsEvents.pvc

Can I take the PROPERTIES and even programming and include it in a class "Sy_BrowserControl.pvc" or do I need to use the file name as generated and LIKE it in my SY_BrowserControl.pvc?

11
iNomads / Re: Passing in a variable to a iNomads transaction
« on: August 01, 2018, 03:20:14 PM »
Cool!  That clarifies what I needed.  Thanks!

12
iNomads / Passing in a variable to a iNomads transaction
« on: July 27, 2018, 04:01:03 PM »
I want to create a clickable link from a report or email that when clicked will invoke the iNomads transaction that I want.  Currently, the link looks like http://bobtest.asifocus.com/?txid=testOrderMnt.pvx.

Can I add anything after the link like "?arg_1=MD" and would that pass in as arg_1$?  Something like http://bobtest.asifocus.com/?txid=testOrderMnt.pvx?arg_1=MD?arg_2=2018072412345rcO

Pages: [1]