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 - James Zukowski

Pages: 1 2 [3] 4 5 ... 20
31
Nomads / Re: Popup menu missing the target
« on: June 29, 2023, 11:53:30 AM »
Mike,
Thanks for the suggestion. It worked just fine the first time. After that, however, the popup was popping up all over creation; other monitor, above/below the window, nowhere to be seen at all but still active.

For the time being, I'm including a calculation fudge factor, but any other suggestions would be warmly welcomed.

32
Nomads / Popup menu missing the target
« on: June 28, 2023, 05:40:29 PM »
We've got a F/M panel with a menu bar, TitleBar, and 7-tab folder. I'm trying to have a popup menu with variable file-driven data appear in most situations when the user tabs out of a specific field. I've got most of the positioning down, but while the control's 'Col and 'Line positions seem to reflect the accurate position relative to the window, when we apply those coordinates to the popup_menu directive, they seem to try to position the popup relative to the folder's sub-panel. As a result, the popup appear several lines below the control it's supposed to be associated with. I've been able to compensate a bit by subtracting the sub-panel's 'Col and 'Line positions, but that doesn't seem to take into account the TitleBar or menu bar.

Is this a problem with the window building process, or do I need to do these compensations, and how do I determine the heights of the bars?

Thanks in advance!

33
Programming / Re: Create/Update Excel Workbook
« on: June 26, 2023, 09:00:52 AM »
That would be "LV" - as in <L>ist <V>ariables - to list the variable names.
Use DUMP to display their contents, or SD (<S>earch <D>ump) for more specific info. See the manual for details.

34
Programming / Re: Create/Update Excel Workbook
« on: June 09, 2023, 11:05:31 AM »
From command mode, print SSN
The first 4 digits are the version number; 2 digits major, 2 digits minor

35
Programming / Re: Create/Update Excel Workbook
« on: June 09, 2023, 08:43:03 AM »
Tom:
Try printing HTA(x_obj'sep$) to see what's actually there.
Also, what server/client operating systems are you running? WindX? nthost/ntslave? Simple CS? These might help point to the problem.

36
Programming / Re: Create/Update Excel Workbook
« on: June 08, 2023, 04:47:32 PM »
Tom,
We're running v15.1 and the program you provided worked fine; the cells have the text "numbers".
Have you tried checking the RETVALs after each step?

37
Nomads / Different Font Sizes on Panel
« on: June 06, 2023, 02:58:49 PM »
I'm updating a panel that has single-line multi_lines and multiple-line multi_lines. The fonts are different sizes: the multiple-line entries' fonts are 1/6 larger than the single-line entries (see attached snip). All of the font info and attributes are the same.

As a test, I shrank a multiple-line entry to 1 line and the font became the smaller size.

Anyone have any ideas?

Thanks, all!

38
Nomads / Auto Complete not working in multiple sessions?
« on: June 05, 2023, 01:56:47 PM »
While testing an update to a panel, I opened the old version in one session and the new version in a second session on the same workstation. Whichever session I first access for the autocomplete seems to lock out the other session; it's still a multi-line, but doesn't create the auto-complete drop-down.
Is there something I'm missing/not setting up? Any suggestions welcome.

39
The text-based utility that exists in PxPlus will copy from one file to another with the option to "restructure" it in the process. From command level, you can:
call "*U" -> F -> C
Follow the prompts, and you should be able to figure it out. You'll need to copy to a new file name and then do some renaming afterwards.

40
Nomads / Re: Unexpected Preinput on Panel Exit
« on: May 08, 2023, 04:50:30 PM »
Thanks, Loren. That wasn't exactly the problem, but it was close enough to find it.

I had our standard Exit button defined with "X" as the hotkey. I also defined a menu entry for Exit with the "X" hotkey. Changing the menu entry from E&xit to &Quit resolved the problem.

41
Nomads / Re: Unexpected Preinput on Panel Exit
« on: May 08, 2023, 02:13:04 PM »
The strange has just gotten a bit stranger...

No changes to the panel or programming, just a change in the calender from the first week of May to the second. The preinput characters changed from "BN" to "'&" and "BL" to "'$".

I specifically tested the Alt-X on a field that had no attached logic or attributes other than "Tab Stop". Using Alt-X loads the characters into the input buffer, but clicking the Exit button itself does not.

Anyone with any insights on this?

42
Nomads / Re: Unexpected Preinput on Panel Exit
« on: May 05, 2023, 09:33:29 AM »
Mike,

Thanks for the quick response. I just re-checked, and no, there are no extra Signal Attributes assigned.

This is part of the standard embedded panel we've set up with the navigation and action buttons to replace the standard NOMADS button set. It works fine on all the other panels it's embedded on, which makes this even stranger, since there's a multi-tab folder on at least one of those.

The Button Pressed logic for the E&xit is:
Execute: Perform Default_Prog$+";Check_changes";cmd_str$="END"

43
Nomads / Unexpected Preinput on Panel Exit
« on: May 04, 2023, 05:09:53 PM »
We're running a character-based menu system that will run an existing CUI program or PROCESS a NOMADS panel, based on file parameters. I've created a new NOMADS F/M and when I exit by clicking the appropriate button, all is well. However, when I use the Alt-X hotkey I have set up for the Exit button, I get unexpected characters in the menu program's typeahead buffer.

We have other panels that are PROCESSed off the menu without incident, but this one, for some reason, works differently. (We're not using the NOMADS Security processing.) It's a panel with a few controls, a TitleBar, an embedded panel, and a folder on it. We have 2 options: Full Access and Inquiry Only, based on a file-based permissions list. The menu starts the Full Access version with 7 tabs on the folder, but if the user is identified as Inquiry Only, part of our Pre-Display routine PROCESSes a 3-tab version and exits with Cmd_Str$="END". While it doesn't seem to make any sense that there would be a difference, the 7-tab Full Access version drops "BN" into the input buffer, while the 3-tab version drops "BL" in. If I include a PRINT 'CI', in the Exit button's logic, the characters don't show up.

Any insights would be appreciated!

We're running PxPlus v15.10 on Linux RedHat with WindX on Windows 10 Pro workstations.

44
Programming / Re: REMOVE failing if record not EXTRACTed
« on: March 22, 2023, 03:54:14 PM »
Tried to re-create the problem, but couldn't. When I manually write the file and REMOVE, it's all OK. Here's the create string:

KEYED "PFILE",[1:1:4]+[2:1:8]+[3:1:5]+[4:1:5]+[5:1:5]+[6:1:2]+[7:1:2]+[8:1:2],[1:1:4]+[2:1:8]+[15:1:4]+[3:1:5]+[4:1:5]+[5:1:5]+[6:1:2]+[7:1:2]+[8:1:2],0,-1024,BSZ=8,OPT="2",SEP=$8A$

There are 14M records in the EFF file, totaling 9GB. It's been around for YEARS, and just threw this one out. I thought it might be a file structure problem, so I ran a File Utility Check on it...no problems.

Strange occurrence. If it happens again, we'll see about the helpdesk ticket.

Thanks for the consideration.

45
Programming / REMOVE failing if record not EXTRACTed
« on: March 21, 2023, 09:39:37 AM »
We have a multi-keyed file with 2 keys; the first has 8 components, the second has 9. When we tried to manually remove an entry, the REMOVE wouldn't work unless we EXTRACTed the record. It turns out that the primary key had a null key field element. I wouldn't think that should cause it to require an EXTRACT to be REMOVEd. (BTW, the file has almost 14M records.)
Any insights?

Pages: 1 2 [3] 4 5 ... 20