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 - Peter.Higgins

Pages: 1 ... 5 6 [7] 8 9
91
Nomads / Re: Accommodate different monitor sizes
« on: May 24, 2019, 08:26:20 AM »
THANKS James,

Great tip!  We are already doing some of this. 
The old code was using the same fonts, just reading  'OPTION'("Stdfont") to refactor the size, so I was thinking of adding "GraphicFont" as well thinking it was needed for the graphic fonted text labels. 

Now  hopefully someone will be able to point out where DPI value is available in the system. 

92
Nomads / Accommodate different monitor sizes
« on: May 23, 2019, 04:33:51 PM »
Trying to make  panels relatively the same size on different monitors.

After obtaining the monitor DPI and calculating the new default graphic and text fonts
it looks like I need to drop and reinstantiate or init() the *obj/nomads.pvc object.
That's where nomads instantiation gets murky.

Does the font have any affect on character size?
Will I also have to set other fields like the Xchar, YChar, Xmax, Ymax? 


93
Language / database.pvc encapsulation issue gives wrong results.
« on: May 16, 2019, 03:09:06 PM »
Hoping this is already a non issue in V2019 because of the SQL export.   Nice job on all the upgrades. 

Just wanted to bring this to your attention. 
When using database.pvc :
If setdatabase(x$) method is used to set a new dictionary, the %Z__PVXDDF$ variable is not set. 
This is important as other methods besides password use CALL "*dict/dd_updt;... and these methods fail if the current path in %Z__PVXDDF$ is not the same as X$ because  "*dict/dd_updt" calls a dictionary open routine dependent on  %Z__PVXDDF$ path in the opens.   
Thanks

94
Language / database.pvc
« on: May 07, 2019, 11:08:35 AM »
Found something this morning.
Using a delimited file structure I get column width=0 for all key fields from the IDXINFO object returned from database.pvc method GetIndexInfo().
In the executed LOAD_INDICES procedure of database.pvc, the properties are loaded by the line
READ DATA FROM X$,SEP=":" TO KN,SN,COLUMNATTR$,COLUMNWIDTH,COLUMNOFFSET
x$ is a lightly modified Keydefinition$ from dde_fh. 
Both have contents of "1:1:AC"

If columnwidth is 0 after this statement then should not a columnwidth = num(length$,err=...) be added so a separate routine to poll COLINFO object to get field length is not required?


95
Language / Re: web/ftp & websftp
« on: April 25, 2019, 04:54:33 PM »
Austin,
I'm Sorry that wasn't clear. 
The messages show are the result$ returned.

96
Language / web/ftp & websftp
« on: April 25, 2019, 02:27:33 PM »
I am occasionally getting error messages from one or both of these programs.
Error #12: File does not exist (or already exists)(At Line: 792)
Error #12: File does not exist (or already exists)(At Line: 878)

The application is run as a script and the client advises there is occasional network congestion. 
Since the program is encrypted, this is not much help in determining the where, what, how, of the issue. 

What needs to be known and cannot be determined any other way from the error for audit verification are Procedure and file name. 

What would be even nicer is an object that could re-classed and extended with such luxuries as
  • memory file lists for remote
  • memory file lists for transferred
  • file count remote
  • file count transferred
Why encryption is applied to a wrapper around curl which is open source, (even if it is not copy left), with the usage well and widely documented?
There are a significant number of unencrypted programs that would be far harder to figure out and reproduce. 


97
Off Topic / Re: pvxplus educational material for beginner
« on: April 25, 2019, 01:44:24 PM »
Thanks Stephan,
The +U and -U are very handy but do not work on the grid.  At  least not for the flashing that occurs at the 0,0 position when doing background changes to cells. 
Actually it was the first thing I tried as I use them within custom progress bars and widgets.  Focus was second.
There are times hiding a grid just doesn't look right and I am not a fan of putting a place holding graphic behind saying Loading etc.
A screen updating property for the grid would be nice to have. 

98
Programming / Re: XML Parser - Find Node based on Attribute Value
« on: April 19, 2019, 09:21:35 AM »
Josh,
Since PVX has object inheritance, I would suggest a re-class of the xml object to add Mikes attribute search function so the code is reusable and not in the edited programs.   If the process does a large amount of searching in large files, adding an override of the *obj/xml parser routine to add a memory file with alternate keys on the attributes etc would be warranted.

99
Programming / Re: 2 factor authentication under linux?
« on: April 19, 2019, 08:58:54 AM »
Mike,
Thanks for pointing this tool out.
SMS is so much more appropriate for critical issues after hours than email.

100
Programming / Re: Program Caching
« on: April 19, 2019, 08:22:17 AM »
Lawrence,

We see the same issue with editing objects, and some graphical programs.  It is not 100% but few can be edited in session after running.  Have eliminated the cache as well.  Appears that  the objects or programs are triggering a condition that locks them into memory.  For  instance on our progress bar objects, after running a report, I remember
the graphic animation object could be edited in session, but the widget window object could not.  Think perhaps it could be windx related, or com interface related as I added pdf and excel object interfaces to ones I can remember the session issue with. 

101
Off Topic / Re: pvxplus educational material for beginner
« on: April 01, 2019, 10:15:25 AM »
Thanks Thomas!  That is indeed a subtle issue it is good to know about.   Now you have me wondering how nomads knows where to put query returns and why focus is not forced to the query field parent first by the event of pressing the linked query button.   

102
Off Topic / Re: pvxplus educational material for beginner
« on: March 29, 2019, 06:26:38 PM »
James,

The list archives were full of gems and I still want to search them on occasion.
Being schooled by 6+ PVX masters as well as working with the source code of the largest resellers is also a big help. 
Anytime your employer would like you to have an advanced Architecture/Dictionary/Object/Nomads/Coding training, l will be happy to provide a outline. 

Some simpler and commonly known Nomads good practices that don't leap out the documentation:

Hard coding a control name anywhere but the first field on a panel is unnecessary. 
Use id$ so the name can be changed when refactoring the panel.

Stick Id$ in tools tips for large parameter panels.  Sucks to guess.

Pick global control and event naming schemes, the more obvious the better or even better use object nomads which helps enforce that. 
";Pre_Display"
";Post_Display"
";On_Exit"
";"+ID$    !BT_EXIT,
";Change"+ID$ ! InventoryNo$

Loading a grid or listbox by cell or row should forbidden even on the best networks unless editing a row.  Formatting row colors after bulk load is much faster.  My grids & lists rarely take more than a few seconds to load and format thousands of records.

Setting or getting multiple control properties should use one or two multiple property statements depending on method.

And if anyone knows how to turn off the grid screen update during a grid formatting, I would like to learn how.  The screen flicker has no value.

103
Off Topic / Re: pvxplus educational material for beginner
« on: March 29, 2019, 11:21:04 AM »
Sonia,

Pxplus used to give a basic course on the base language and a course on the graphical language.
I would be happy to help if possible to work around my lack of Spanish.  It helps to know if the programmer is learning from another language, so emphasis can be put on differences, or from a fresh start. Either way, a good start will pay dividends for years as some of the most powerful features of the language are not easily spotted reading the web documentation and was not covered in basic training.   

Have a terrific day
Peter Higgins
returnSuccess Software LLC.


104
Language / AS2 / RFC4130
« on: March 29, 2019, 10:56:18 AM »
Question for PxPlus: 
Are there plans to implement AS2 document transfer in the pxplus utilities?
Just wondering if writing a utility for it would be worthwhile?

105
Programming / Re: Remote Debugging via IT
« on: November 14, 2018, 10:05:29 AM »
Had this a few day ago and it was permissions on pxplus/lib/_start.up.
HTH



Pages: 1 ... 5 6 [7] 8 9