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.


Topics - James Zukowski

Pages: 1 [2] 3 4 ... 7
16
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.

17
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?

18
Nomads / Synchronized Scrolling
« on: February 22, 2023, 10:18:42 AM »
Is there a way to synchronize the horizontal scrolling of 2 list_boxes? The panel isn't wide enough to display the full width of the main list, which has the detail lines. We're setting up a second list of 1 line that has the totals for certain columns in the main list. By synchronizing them, the totals will always appear below the columns they refer to.

Similarly, if the user changes a column's width, is there are way to detect that and replicate it in the other list?

Thanks in advance, all!

19
Nomads / Resizing without Resizing
« on: February 21, 2023, 01:59:29 PM »
When we set up many of our panels, we set them as Resizable/Custom with the various controls anchored how we want them. Part of this is to ensure we don't have any (including a logo picture) trying to be set up beyond the edges. I've noticed that this essentially sets the minimum size of the panel based on the designed size. This only allows the user to make the panel larger, but not smaller.

Has anyone got an idea about how to set a small minimum size, but initialize the panel at a somewhat larger "default" size, which would allow the user to resize the panel larger or smaller?

Thanks, all!

20
Language / Potential problem in multifile.pvc
« on: January 27, 2023, 06:08:13 PM »
While testing/preparing to use split files, I ran into a situation with an embedded io routine. In multifile.pvc, the Do_Pre_Write routine does its thing until it gets to:
Code: [Select]
if IoType=1 then write lock record (Chnl[_Found_chnl],key=_key$)_rec$ else write lock record (Chnl[_Found_chnl])_rec$
!
if and(_opt,64)=64 then gosub Extract_Update else extract release (lfa); gosub Extract_Free
Our embedded io routine does some post-write processing. This is called by the write lock record directive. It opens a reference file, reads it, then closes it. (There may also be some additional writing, based on results of this read.) Since _opt is 0, the next code line tries an extract release for lfa, but lfa was not the Chnl[_Found_chnl] in the write line. Changing lfa to Chnl[_Found_chnl] in the extract release line works fine in this situation.

However, there are other references to extracts and lfa elsewhere that I haven't gone through yet. These may be affected by post-read and post-write routines in embedded io routines.

Thought you'd like to know...

21
Language / Detecting Multi-Segment Split File
« on: January 27, 2023, 05:17:39 PM »
Is there a way to determine if a file is a multi-segment split file? We've got embedded io routines that do additional work based on a file's name. We're looking at splitting some of our larger files.
We would like to be able to parse out the base filename only, rather than have the full path and segment ID included. Being able to determine when to do the additional parsing work would certainly help.
Thanks!

22
Wish List / Open Directory +INFO
« on: January 23, 2023, 09:59:35 AM »
Could there be a link in the documentation from the OPEN directive to the File Handling -> Processing Data Files -> Accessing Directory Files page, perhaps even to the Special Directory Processing paragraph...?

I use it enough to know what's there, but not enough to know exactly what is where.

Thanks!

23
Nomads / Data Dictionary File Sizing
« on: November 08, 2022, 05:24:06 PM »
When the Data Dictionary creates a file, there is a rather significant "buffer" of extra record space added. Is there any particular reason the number is that large? Does it have any real effect on the space used by a VLR or EFF file's records?
More curiosity than anything else...
Thanks!

24
Language / Window Size Maximums
« on: November 07, 2022, 02:51:21 PM »
The current documentation lists the window size limits as 255 lines by 255 columns. The Release Notes for PxPlus 2021 (v18) state that (for NOMADS-oriented components) "Increased panel and control sizes to a width of 620 and height of 255 in all designers". We're currently on v15, and close to moving to v18. We just ran into a user with a monitor capable of 312 columns. The program has been patched to limit this to 255.

I presume the new window size limits are in effect for more than just NOMADS, and that we can address the larger monitors appropriately. However, I couldn't find any other documentation regarding those larger size limits. Could someone confirm that they are supported, or if this is a NOMADS-only implementation.

Thanks in advance!

25
Nomads / Message/Status Bar Updates
« on: November 02, 2022, 03:54:17 PM »
We've set up panels with an "Export to Excel" button. On the User Aid tab, we've set the Message Bar text to "Export to Excel". During the export process, we're reading entries from a listbox and sending them to Excel via DDE. Since it's not the swiftest process in the world, I'm trying to update the Status Bar every 100 records, but it won't change. If I include a MSGBOX (for my info), the Status Bar changes - but only for the duration of the MSGBOX; then it changes back to "Export to Excel".
Is there some setting I'm missing? Is this correct behavior?
Thanks in advance.

26
Nomads / Multi-line Text Color
« on: October 28, 2022, 01:28:31 PM »
I've got a panel with a couple of standard multi-lines, some buttons, a folder with 7 tabs, and 2 other multi-lines used as "traffic lights" to indicate whether the current record's process is Enabled or not. The status is controlled by a checkbox on the first tab. Both are locked and hidden/shown based on Dependencies.
The Enabled status is fine: Black text on Light Green background.
The Disabled status is strange: It's defined as White text on Light Red background. When first Shown, it comes up as Black on Light Red. It's only after a secondary panel is PROCESSed through a folder panel that it shows up as White on Light Red. If we return to the tab with the Enabled checkbox, it returns to Black on Light Red. (See attached.)
The library defaults have the colors set to Black on Light Gray.
Running PxPlus v15.1 with WindX on Linux.

Any ideas/suggestions?

27
Nomads / Dependency problem
« on: October 24, 2022, 05:06:24 PM »
I've got a simple panel with 8 fields (or 12 if you consider the 5-option radio buttons). I've attached Dependencies to enable or disable a checkbox based on the value in another field (see first attachment). There are only 2 dependencies: either Rpt_Length=8 (normal) or not (inverted). If I use the Invert/Normal sequence, the field is always enabled. If I switch their positions, the logic is inverted from what I want (disabled instead of enabled when length=8, and vice versa).

When I break into the running program and look at a dump, the Dependency list shows 3 entries (see second attachment). I don't know why it's doing that. If I delete all the Dependencies, the runtime list is empty. But adding the two entries back creates three entries in the runtime list.

Is there something I'm missing? All of the other dependencies I've used elsewhere seem to work fine.

Running WindX with PxPlus v15.10 on RHEL 7.9

Thanks, all!

28
Nomads / Validator Ignored?
« on: October 07, 2022, 11:46:42 AM »
I've got a multi-line field with both validation and formatting routines attached. If a value is entered into the field and the user mouse-clicks into a different field, it seems like the Validator is skipped, but the Formatter is not.
Is this correct behavior? I thought the Validator would check on any exit from the field.

29
Wish List / Sort Array
« on: June 22, 2022, 05:05:19 PM »
Would it be possible to extend the capabilities of the SRT() function to include (1-dim) arrays? This would be useful when using dynamic arrays instead of *memory* files. Example:

Code: [Select]
New${all}=srt(Old${all}) ! String
New{all}=srt(Old{all}) ! Numeric

Optional parameter: Case-insensitive (1/0)
Very optional parameter: Dimension# to sort on (1-3)
Very very optional parameter: Reverse sequence (1/0)

Sorting 'in place' would be supported, e.g.: A${all}=srt(A${all})

Thanks for considering!

30
Language / Excel, .COM, and OneDrive
« on: May 27, 2022, 02:37:04 PM »
Last weekend, I had some automatic updates done to my Windows 10 PC that caused some problems with the PxPlus Excel object. I'm not sure exactly what component changed, nor to what degree, and was wondering if anyone else had experienced this.

We've been able to create an Excel workbook from PxPlus with a null filename, and it would accept it, assuming something like "Book1.xlsx" in the "[My] Documents" folder as the default filename. After the update, this didn't work anymore. It took quite a while to narrow down, but I eventually discovered that a null filename could no longer be supplied to the CreateWorkbook method. Providing a name resolved the problem.

I know the PxPlus Excel object did not change. I'm not sure what else did. Others on our team have not yet been updated, so they're not experiencing this...yet.

Has anyone else run into this problem? Is this something that can be corrected, or do we just have to work around it like we have?

Thanks, all!

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