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 ... 11 12 [13] 14 15 ... 20
181
Language / Treeview'Expanded Property
« on: February 19, 2020, 06:23:08 PM »
This one is VERY wierd: I can expand/collapse a treeview list by setting ID'Expanded=value. However, when I try to read the value (Var=ID'Expanded), I get Error#88.

Any ideas?

PxPlus 13.10, Linux 5, WindX on Windows 10, *nthost/ntslave

182
Wish List / Re: Forum or support
« on: January 22, 2020, 09:52:46 AM »
When I find something that is definitely different behavior, incorrect documentation, or bug, I go the Support route. That will generally get their attention faster, and you will be able to interact with the folks that KNOW the system.

183
Programming / Re: Generic Input
« on: January 20, 2020, 04:06:49 PM »
Try checking the MODE variable on the MULTI_LINE directive instead.

184
Language / Re: Accepting variable number of arguments in a function call
« on: January 09, 2020, 01:52:37 PM »
I noticed that, hence the question.

How about "X/x", or "P/p" for String/numeric 'Protected' arrays?

185
Language / Re: Accepting variable number of arguments in a function call
« on: January 09, 2020, 01:19:23 PM »
Has the STK(Properties) function been updated to reflect read-only arrays?

186
Programming / Re: viewer display
« on: December 27, 2019, 12:51:35 PM »
It sounds like your program is sending out a 'BR' / 'ER' mnemonic combination for reverse video, which would normally be for a text screen display.

187
Programming / Re: Program Caching
« on: December 20, 2019, 12:34:49 PM »
Probably so, but the situation is more like:

if nul(Prog_FNC$) or fin(Prog_FNC$,"LCL_MTime")>%FNC_Time$ then perform "Update_Prog"

A close(lfo) after the perform is probably not appropriate. As an 'else', perhaps, but the whole thing starts getting very messy-looking for future maintenance, especially with the nul() test.

188
Programming / Re: Program Caching
« on: December 20, 2019, 11:49:08 AM »
I've worked around doing this in a single statement (though I'd like to get back to that).

It's now an OPEN INPUT; Var$=fin(); CLOSE to get the date/time info for the comparison. Works fine, but a little more than I'd like.

189
Programming / Re: Program Caching
« on: December 19, 2019, 12:15:33 PM »
I think I figured it out, though it does lead to another question.

In our menu program, I test fin(Prog_FNC$,"LCL_MTime") against a previous global value. This seems to 'open' the (program) file, but not close it. The new question: How can this "file" (Prog_FNC$) be closed?

190
Programming / Re: Program Caching
« on: December 16, 2019, 03:43:22 PM »
That's what I would have thought. Evidently, as soon as a global function is used, the program that contains that function is loaded into memory as an open file. And since it's an active loaded file, it seems to lock out re-saving the file, as if it's trying to create a new file but can't delete the old one first since it's open.

PxPlus v13.10 on Linux RedHat 5.11 with WindX through *nthost/*ntslave

191
Programming / Re: Program Caching
« on: December 16, 2019, 09:49:41 AM »
We've set up a separate program to contain all of our global functions, in anticipation of making changes in the future without having to modify our standard startup program. Now that I want to make a change, I can't save the program under the same name; I get Error#0: Record/file busy.

Is there a way around this? Or do I need to have everyone get to a point of not using any of the global functions?

Thanks!

192
Nomads / Re: File Maint with Main window data fields and Folder
« on: November 27, 2019, 12:14:48 PM »
When we finally upgrade to that in early 2020, we'll look into it. For now, I'll work on the code review.

193
Nomads / Re: File Maint with Main window data fields and Folder
« on: November 27, 2019, 11:39:23 AM »
It's a single-key file, and there were no changes that affect that, that I am aware of. I'm wondering if it's something to do with "splitting" fields in the FIELDS group between the main window and the tab. That still wouldn't explain why tabs other than the first work fine when they're the ones displayed on a FIND_REC.

I'll review things again, to see if there's something I missed.

194
Nomads / Re: File Maint with Main window data fields and Folder
« on: November 26, 2019, 05:00:56 PM »
Yes, it was originally created as a Generated F/M, but all non-key fields were on the folder's tabs. It's also a Custom Type F/M program, which allows us to control a number of the processes.

That said, we've done a bit of tweaking on the originals, due to new fields being added to the file. The original first tab (.1) had a new first tab (.0) inserted before it, so it became the second tab. Others were also added along the way, getting inserted and shuffled. The inter-tab "Folder_Tab_n" elements have been added/deleted/updated accordingly.

We're now eliminating the first tab (.0), using another tab (.3) as the new first tab. The folder object has the desired sequence of tabs (.3, .1, .2, .4, .9), and the Folder_Tab_n elements work. It's just getting that first tab's objects to be enabled when retrieving a record that's weird. Again, having another tab active when retrieving the record has that tab's objects enabled, and switching to the first (.3) will subsequently work.

195
Nomads / File Maint with Main window data fields and Folder
« on: November 26, 2019, 04:30:01 PM »
We're moving some fields from a tab in a folder to the main part of a F/M window, to eliminate that tab. When was bring up a record, the tab key moves through the fields, then to the tab header, but for the first tab in the folder, all of the fields are disabled. Switching to another tab and then back again enables them properly. If a different tab is displayed when the record is retrieved, all of the fields are enabled properly, and switching to the first tab also enables those.

I can't find any notable differences between the tab panel headers. Is there something I'm missing to get that first tab enabled when retrieveing a record?

Thanks, all!

PxPlus v13.10 on Linux RedHat 5 with WindX

Pages: 1 ... 11 12 [13] 14 15 ... 20