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 - Mike King

Pages: 1 ... 60 61 [62] 63 64 65
916
Wish List / Re: Ability to search on grid column names with GRID FIND
« on: August 10, 2018, 09:42:21 AM »
We will take this under consideration, however please see reply number 2 in this topic as to how you can do this currently.
https://forum1.pvxplus.com/index.php?topic=125.msg292#msg292

917
Wish List / Re: Disabled dropbox items
« on: August 10, 2018, 09:24:39 AM »
In order to accomplish what you want you would need some way to identify which selections are not allowed.  That could get very complex in the Nomads designer and even the list LOAD directive. 

To make this easier to define we could add a property where you could indicate the leading character for non-selectable items such as 'DisabledPrefix$ = "~" then any list item that starts with ~ would not be selectable and the ~ would be suppressed.   This approach would make is easier to load and define in Nomads.

I however am still not certain this might cause more problems from a support perspective not to mention having to see how it could be implemented in iNomads on Tablets where drop boxes are presented as a overlaid list on the screen and not as a drop down list.  I'm not certain we have any control over the display in this case.


918
Wish List / Re: Error on line in ED+
« on: August 10, 2018, 09:06:07 AM »
The issue with changing the background is that we would have to define a special color for every theme since a red background might result in a line of text that would not be very readable due to different text colors.

If you do want the errors to stand out more give the Chaos theme a try. It highlights the line number column instead of just using the red cross.

BTW: The themes are fully editable.  Their definition is controlled by the theme-xxxxxx.js files found in *plus/inomads/add-ons/editors/ace/src-noconflict.  We provide the standard themes but if desired you can add your own custom one. 

Note: The ACE editor has changed the way these files are used in their latest release.  We are considering updating to the new version of ACE in the future however the basic layout will remain the same.


919
Programming / Re: Windx connection fails to execute Linux program
« on: August 10, 2018, 08:46:10 AM »
DoubleVision cannot handle the WindX protocol.  We suggest if you wish to continue to use DoubeVision that you use it on standard text mode terminals that DoubleVision does support otherwise use one of any number of Windows desktop sharing programs or Windows RDP which comes standard with the Professional version of Windows 10.


920
Programming / Re: Very Slow Program LOAD
« on: August 09, 2018, 11:29:10 AM »
Lawrence, a good wide-area network should still have a fairly respectable packet exchange time.  For example we have an Amazon server in Oregon and when we time how long a FIN request takes we get an response of less than a 1/10th of a second for the packets to go between Toronto and Oregon (basically coast to coast plus an international gateway -- routing over 24 points according to tracert )

Here is what we ran:

-;list
0001 LET x=TMR(0)
0010 FOR i=1 TO 100
0020 LET x$=FIN(0)
0030 NEXT i
0031 PRINT TMR(0)
-;run
 8.609

(so 100 requests in 8.6 seconds or 0.086 seconds per request)

So given that most users could not distinguish anything below about 1/2 a second, you should be able to run a handful of FIN requests in your logic without any noticeable delay.

However going back to the original question you have not answered; Did you try a simple INPUT statement to see how it performed and how does all of this relate to program load times???

921
Wish List / Re: Disabled dropbox items
« on: August 09, 2018, 10:26:24 AM »
While in theory it could be done, a user might get the impression he/she can select an item and then it does not change they may report it as a bug in the application.

My suggestion would be for the drop box simply assign logic executes something like this:

  • On DB1 Post_create
    db1_fix$=db1$
  • On DB1 Selection event:
    if db1$<>db1_fix$ msgbox "Only selection of "+db1_fix$+" allowed at this time."; db1$=db1_fix$; change_flg--
This would enable the drop box but prevent the user from changing the value while letting them know why their selection is being rejected. 

In addition the logic could easily be made conditional so that only in certain conditions the user would be allowed to change the value -- for example when creating new record but not changeable when viewing existing records.

922
Programming / Re: Very Slow Program LOAD
« on: August 09, 2018, 09:25:36 AM »
Have you tried a simple program such as:

10 INPUT "Enter your name:",x$
20 PRINT "Hello ",x$

Does this also exhibit the slow down?

Also your post title is "Slow Program LOAD".  I'm not certain how a slow program load is related to terminal input.  Slow program loads generally has to do with system loading or perhaps the number of directories being searched to find the program.

Lastly, with regards to the FIN/FIB functions, while these provide information about the terminal state, on WindX they also include information only know to the workstation such as X/Y screen co-ordinates which the user can change at any time.  Accessing the FIB requires a packet exchange with the workstation thus can slow down input processing. (This additional information is not applicable/available when using text terminal emulators). 

You should make sure you minimize the number of calls to this function to improve performance when using WindX.

Mind you a packet exchange with WindX on most networks only takes a few hundredths of a second (if that) so unless you have a very slow network or are doing an excessive number of requests your performance should not be visibly impacted by a couple of FIN/FIB requests.


923
Wish List / Re: Ability to search on grid column names with GRID FIND
« on: August 09, 2018, 08:54:07 AM »
If all you wanted was to get the contents of a grid cell then just set 'Column$ to the column name, set 'Row to the row number and read 'Value$.  You don't need to use the GRID FIND at all.  If you want to change the cell, just assign the new value to the 'Value$ property after setting row/column.

The property 'Column$ can be set to either the column number as a numeric string or the column name.  Internally it does the same as 'Colno.

BTW: Setting the two properties and just reading the value will be faster than the GRID FIND if using column names.

924
Programming / Re: Very Slow Program LOAD
« on: August 08, 2018, 06:17:39 PM »
What do you have the terminal type set to?
For WindX it should be set to 'ansi' or 'winterm'.

What Server OS and version of the software.

Also is this just simple input or are you running your input through some form of input handling routine? 

We have seen instances where an input handler attempts to get information from the workstation in each keyboard input.  Basically reading a character at a time then asking for the FIB/FIN/FID or other information that has to be requested from the workstation.  This can slow down performance since when using WindX we forward the request to the workstation for the information whereas with text mode terminals we simply use information held on the server and just assume that things like cursor position are correct.

If the problem persists we suggest you open a helpdesk ticket so we can provide further assistance.

925
Programming / Re: Strange behaviour reading ctl value
« on: August 08, 2018, 05:20:41 PM »
Please update your WindX/PxPlus from our web site to get the 0002 build. 
There was an extra event caused by some Window OS changes in the 0001 build that didn't work quite right in all cases.

926
Programming / Re: Very Slow Program LOAD
« on: August 08, 2018, 05:18:47 PM »
What do you mean by "Text Emulator"? 
Are you referring to a terminal emulator such as Putty?

When you are running WindX -- how are you connecting?  SSH, Telnet, Simple CS, NTHost/Slave, App Server?
Also when you say you LOAD a program into memory do mean issuing a LOAD "xxxxx" command at command line and if so what is the pathname of the program?


927
Wish List / Re: Ability to search on grid column names with GRID FIND
« on: August 08, 2018, 11:11:56 AM »
Just curious, on re-reading your post; were you looking for a way to SEARCH the grid for text or just a way to read a specific column based on column name? Your example of using GRID FIND only returns the contents of the grid or a specific column/row, it does not search the grid for a value.

To search a GRID you need to set the property 'FindItemText$ to the value desired and the system will return the row/column in which the value is found.  There, if you want column names, you can set 'Column$ to the name of the column you want searched then set 'FindColno to the value in 'Colno and finally set 'FindItemText$ to the value to search for.  If found 'Row will have the row number, 'Colno will have the column number and 'Column$ will have the column name.

You can set specific find options with the 'FindOptions$ property such as Case insensitive, wrap around, ignore accents, search backwards, etc..

928
Wish List / Re: More controls on Nomads panels
« on: August 08, 2018, 10:59:13 AM »
We have this under review however the challenge is that the original design permitted only 1000 controls for a panel and these were split into 200 for the main panel and 200 each for up to four concurrent panels.

What we are considering is allowing the main panel to have more but reducing the number of concurrent panels.

In the interim what might work for you is to maximize the main window and create four concurrent panels on top of the main window.  Set the concurrent windows as frame-less and synchro-lock.  This would get you up to 800 controls (1000 if you put some controls on the main window).

Other options to get beyond 200 items on the screen are:

  • Use Radio buttons for Buttons and in the select logic use the ID to determine which actual button was pressed and then reset that button so it looks normal.  This will get you 255 buttons per radio button. With a little effort you can replace up to 255 buttons, check_boxes or radio_buttons with a single control.  (We use this technique in the Bitmap selector for the Nomads designer)
  • Use a GRID where possible and hide the grid lines and column/row headers while setting the background to the same as your screen.  This can get you input fields, drop down lists, buttons, and check-boxes along with variable text.

929
Wish List / Re: Ability to search on grid column names with GRID FIND
« on: August 08, 2018, 09:23:21 AM »
Currently you can do the following:

Code: [Select]
  ctl_id'Column$="ColumnName"
  GRID FIND ctl_id, ctl_id'colno, row, var$

Does this not give you what you need?

930
FAQs / Why does PxPlus need/use external SSL libraries?
« on: August 07, 2018, 09:25:05 AM »
When running PxPlus on Linux/AIX or similar systems, the system will load the SSL libraries when the first reference is made to any component within the libraries is required.  The fact that the SSL libraries are not directly linked into the EXE allows these libraries to be independently updated.  The same is true for Windows however there we actually ship current SSL libraries with the product as opposed to relying on the OS supplying them.

Not all applications will need the SSL libraries, but the following PxPlus functions do require them to be present:

  • Any access to SSL/TLS communications (TCP, HTTPS, etc connections)
  • Use of the HSH functions other than the basic hashing algorithm (hash type 0)
Over time the SSL libraries on your system may need to be updated to address problems and deficiencies that may be discovered and corrected by the makers of openssl.   On Linux and most Unix based systems, these updates can be obtained using the OS supplied software update utilities.  For PxPlus for Windows, these can be extracted from newer versions of PxPlus and applied as needed.

Because security is so important we kept these libraries external from PxPlus so they may be updated as needed without having to replace/updated the whole PxPlus installation.

Pages: 1 ... 60 61 [62] 63 64 65