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 - Jane Raymond

Pages: 1 2 [3] 4 5 6
31
Language / Re: Nomads Adding Security Class to Control
« on: May 03, 2021, 03:54:54 PM »
You didn't mention which version you're using, but I think that as of PxPlus 2016 Upd1, you can change line 4240 of *winproc.dsp to:

4240 IF _ORIG_H<=1 AND _OBJ_QRY$<>"" AND POS("h"=_OBJ_STS$)=0 THEN GOSUB Do_Query_Button

32
Language / Re: Nomads Adding Security Class to Control
« on: May 03, 2021, 03:33:39 PM »
Yes, we have fixed this for the upcoming release.
I'll track down the code changes and post them.

33
Wish List / Re: lock file only if required
« on: April 01, 2021, 09:25:12 AM »

We have looked into this issue since you first requested it last year (c.f. Wish List - *dict/dd_updt)


We analyzed both *dict/dd_updt and *dict/maint to determine if files were unnecessarily locked during the physical file update. What we found was the following:


- Files are not locked during the analysis.
- If a file does not exist and is created, it is locked when it is open. This is a non-issue, as it did not previously exist and could not be accessed by any other session. (The lock is necessary for password processing.)
- If a file exists and just requires updating the internal dictionary, it is not locked.
- If the file requires conversion, it must have exclusive access to do this as files must be renamed and erased. The file is locked to check for exclusive use, and conversion does not occur if it is not available.


No changes were required for any of the above.


One issue we did change occurs in *dict/maint:
If a file with no records is busy, the physical update was not allowed to proceed. We changed it to proceed in case just the internal dictionary needs updating, and no conversion is required.


This change will be in the 2021 release.

34
Nomads / Re: Copy IT Editor colours
« on: March 30, 2021, 09:49:54 AM »
The IT Editor colours are stored in the pvxedit.ini file.
On my Windows machine, that's found in C:/Users/YourUserID/Appdata/Roaming/PxPlus/pvxedit.ini

35
Nomads / Re: Error 41 in _winproc.dsp
« on: January 25, 2021, 09:05:56 AM »
Gord,
This issue has been reported previously and fixed. The update is slated for the next release.

36
Programming / Re: Calendar on Multi-Line
« on: December 16, 2020, 09:17:38 AM »
Chris,
To access a calendar with an embedded query button, you can assign the query to the multiline as follows:
Query Type: Panel
Library: *win/calendar.*
Panel: calendar


The Query Button Options are available if you assign the calendar query this way. You can assign !Calendar as the bitmap, and whatever attributes you want.


(Note: This calendar may have a slightly different appearance, but basically works the same way.)

37
Nomads / Re: Custom Resize Logic
« on: November 30, 2020, 09:08:31 AM »
I don't know if this will accomplish what you want, but try setting a User Defined CTL Value of -1105 for your panel.

38
Nomads / Re: Updating controls on different panels
« on: October 21, 2020, 02:40:30 PM »
I suppose you could, but it sounded like you wanted to see both panels and update them based on changes to either. When you have concurrent panels, the controls are treated as if they're on the same panel.

39
Nomads / Re: Updating controls on different panels
« on: October 21, 2020, 01:29:33 PM »
I assume that what is currently happening is that you select a row, Panel2 gets launched and it has focus until you close it, then focus returns to Panel1 where you select another row and Panel2 gets launched again.


What you can do instead is use Concurrent panels, which means both panels and their controls are considered active, so changes to one can affect the other. You would not have to relaunch the second panel every time a different row is selected, but you would have to update its controls. You would have to figure out when/how you would want to initiate the concurrent panel, and be aware that the second panel could be closed at any time by the user.


Here's more info on concurrent panels:


https://manual.pvxplus.com/page/NOMADS%20Graphical%20Application/Program%20Interaction/Concurrent%20Panels/Overview.htm





40
Nomads / Re: Excluding a Tab from a Folder Programmatically
« on: October 20, 2020, 11:23:39 AM »
After the folder has been drawn (like in the Post-Display logic of the main panel) you can drop or disable a tab.
e.g.
fldr'droptab(3) ! drops the third tab
fldr'disabletab(1) ! disables the first tab

41
Nomads / Re: Hiding Query Columns
« on: July 31, 2020, 01:36:08 PM »
If you have the PxPlus security system set up, then you can assign security to specific fields in the data Dictionary. When the query runs, the security setting for each field is checked and the field is displayed or not depending on that setting.


If there is no security set up, then there is really no way to change the query column settings programmatically prior to display. You could conceivably create a formula column that displays the value (or not) depending on a TBL() condition, e.g. TBL(%showcol=1,"",myfield$).


Another thought would be to set the column as hidden in the definition, which means that the initial display of the query will hide the column. The end user can then use the run-time Hide/Show/Reorder Columns feature to show the column. For those users who should not see the column, you can suppress the Hide/Show/Reorder Columns feature by adding "H" to %nomads'Query_Suppress_Popup$ on their system.

42
Nomads / Re: Child Window Right-click errors
« on: April 30, 2020, 09:20:38 AM »
In version 14, line 47014 was changed to:

47014 LOCAL sv_ctl; IF ID>10000 AND MAX(ID'ctlname$,ERR=*NEXT)="LIST_VIEW" AND ID'AUTO=1 THEN LET sv_ctl=CTL; OBTAIN (0,SIZ=1,TIM=0,ERR=*NEXT)'ME',*,'MN'; PREINPUT CTL; IF CTL=ID THEN PREINPUT sv_ctl; GOTO NXT_INP ! fix order of popup/onChange ctls when right-clicking on a listview with 'auto=1



I believe using this line will solve your issue.

43
Programming / Re: List_box titles
« on: November 12, 2019, 09:56:32 AM »
As of PxPlus 2016, the 'HdrTextColor$ and 'HdrBackColor$ properties are available to control the colors of the column titles.


e.g. RV.CTL'HdrBackColor$="Light Gray"


This would be done in your code, or by defining it in a Theme or Visual Class.






44
Programming / Re: providex.dde - null records?
« on: November 06, 2019, 01:27:40 PM »
Paula,
These records have flags for files with external keys.

45
Programming / Re: Can a Query write its output to a *memory* file?
« on: October 28, 2019, 12:04:22 PM »

Bill,
You can open a query-based file using *QUERY*. For details, see:
https://manual.pvxplus.com/page/file_handling/~query~.htm

For example:
OPEN(channel,OPT="KNO=0")"*QUERY*;MYQUERY;MYLIB"

Pages: 1 2 [3] 4 5 6