Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: 1 2 [3] 4 5 ... 10
 21 
 on: July 15, 2020, 06:00:12 pm 
Started by Jonathan B. - Last post by Nuno G.
Thank you Scott! It worked perfectly.
Nuno

 22 
 on: July 15, 2020, 05:16:17 pm 
Started by Jonathan B. - Last post by Scott B.
To fix this issue, try the following:

Navigate to the AppData directory that stores the documentation set used by GST. This is a copy that is made when GST HELP is first brought up.

On my system, I find this in my AppData\Local folder like you see here: C:\Users\sbarney\AppData\Local\FourJs\Genero Studio Documentation 3.20.08-33781

If you delete the help folder found here for your current version, it should recreate it when you next start GST and bring up Help.

Let us know if this fixes the issue for you.

 23 
 on: July 15, 2020, 12:33:27 pm 
Started by Efisio S. - Last post by Efisio S.
Hi,

We used to have a network share with samba on linux servers, for managing some input/output files created and used by our genero programs.
Since the migration on the GAS, we had to re-think this functionality and we came up implementing a little windows like file manager.
We took inspiration from the fgl-file-browser demo shipped with the fgl setup. Screenshots attached.
We implemented most important feature like download, upload, create folder, rename and delete folders and files, but the "last modified" sort is still missing.
Also we would like to implement multi row selection for downloading files, and in the future drag and drop.

We would like to add sorting by "last modified" column without formatting the array field like yyyy/mm/dd because it wouldn't be clear to the user.
Since the display array dialog is not using paged mode because the directory content is loaded through java utilities, and the ONSORT block, in this mode, is only used to execute post-sort tasks, I can't actually handle myself the sort of the array.
I've read these topics:
http://4js.com/fjs_forum/index.php?topic=1289.0
http://4js.com/fjs_forum/index.php?topic=1298.0
I've also see this github example:
https://github.com/FourjsGenero/ex_browseviewsort
I tried the workaround described in this message http://4js.com/fjs_forum/index.php?topic=1298.msg4549#msg4549, but unfortunately when the ON SORT block is triggered, the actual program array programmatically sorted and the DISPLAY ARRAY re-executed, the client keeps track of the column sort so the program array is re-sorted graphically by the selected column.
Furthermore, I think the paged mode/ON FILL BUFFER doesn't fit well with multi row selection.

Any advice?

Thanks
Efisio

 24 
 on: July 15, 2020, 12:20:06 pm 
Started by Olivier E. - Last post by Christian G.
Dear developer,

This is just a gentle reminder to those that didn't see our recent invitation to the 2020 Slash Data Survey. There is lots of developer swag to win!

We are partnering with Slash Data - the leading analyst in the "developer economy" - to better understand developer's needs.

The survey is straightforward and takes about 15-20 minutes. Those who register and complete the survey will automatically enter a prize draw to win one out of $15,000+ worth of awesome prizes like iPhone 11, Oculus Quest 64GB, JetBrains All Product Pack, Corsair Mechanical Gaming keyboard, Cloud Guru licenses, plus lots of other cool stuff such as accessories and Amazon vouchers.

Share your views on your other dev tools, platforms, technologies, and frameworks. What do you enjoy using apart from Genero BDL? What have you tried but disliked?

The survey is open only to developers. The results will be published in Q3 2020 in the new "State of the Developer Nation" report (available to all for free), including loads of graphs and global trends.

Fancy a challenge? There's another $ 1,000 cash prize you can win if you refer other developers to take part. What's really nice is that for every completed response, the survey will donate $0.10 to Techfugees (https://techfugees.com/) to help support the developers of tomorrow.

The survey is open here: https://www.developereconomics.net/?member_id=4js until August 10th, so hurry!


Regards,
The Four Js Development Tools Forum Team.

 25 
 on: July 09, 2020, 12:30:18 pm 
Started by Jonathan B. - Last post by Nuno G.
Sorry! .. stumbled...

 26 
 on: July 09, 2020, 12:28:09 pm 
Started by Jonathan B. - Last post by Nuno G.
Hi Reuben.
I do believe I stunled on the same issue long time ago but up to this moment I got no solution.
In my case the problem appeared when I installed a new version off the 3.10.* on a different directory of the previous version without uninstall the older version first.
Since then I have to go online to read the documentation since no solution has been found.
HIH

 27 
 on: July 09, 2020, 02:13:25 am 
Started by Reuben B. - Last post by Reuben B.
In the previous Ask Reuben article I discussed how STRING should be preferred over the use of CHAR variables of some arbitrary length and one of the reasons given was performance.  This performance advantage is most noticeable when manipulating large strings. 

Any time you are constructing a large string you should consider using the base.StringBuffer class and its append method as it makes the most of passing by reference.   

How can you verify this gain?   What you can do is create a little test program that has different functions using the various data types and techniques available to construct a large string, and then use the “profiler" to measure what percentage time is spent in each function.  You can then infer that the test function that has the least amount of percentage time spent in it has the datatypes and techniques with the best performance.

This article has such a test program and shows how to interpret the test results and conclude that base.StringBuffer and the append method has the best performance when constructing a large string.

Read more at https://4js.com/ask-reuben/ig-37/

 28 
 on: July 09, 2020, 02:11:21 am 
Started by Reuben B. - Last post by Reuben B.
Many years ago when I first transformed an Informix-4gl application to Genero, one of the things we investigated and actioned was changing CHAR variables to STRING variables, and similarly static ARRAY to DYNAMIC ARRAY‘s.  In particular we paid a lot of attention to CHAR and ARRAY that were an arbitrary length e.g. 1000, and said that if there was not a sound underlying reason for that length to be what it was, then we should consider using a STRING or DYNAMIC ARRAY instead.  The STRING and DYNAMIC ARRAY datatypes rather than having a fixed length allow for an unlimited length and allocate memory as required, as well as allowing better code practises and more functionality.

Advantages of using STRING and DYNAMIC ARRAY over CHAR and static ARRAY include

   • improved memory usage
   • more reliable code as don’t run into possibility of arbitrary length being exceeded.
   • less code as I don’t have to explicitly avoid arbitrary length being exceeded
   • access to methods for STRING and DYNAMIC ARRAY  datatypes
   • pass by reference, not by value

I still see a lot of code that uses CHAR and static ARRAY of arbitrary length that could be coded using STRING and DYNAMIC ARRAY respectively.

Read more at https://4js.com/ask-reuben/ig-36/

 29 
 on: July 09, 2020, 02:08:13 am 
Started by Jonathan B. - Last post by Reuben B.
If you have not already I would suggest contacting your local support contact.

If it is "HTML render is not hooked correctly" there are some environment variables you can use, particularly if you have an old graphics driver, although the symptoms for that you still see something ,just in the wrong scale, so I don't think that is necessarily the issue.

My suspicion is that there maybe something beneath APPDATA (permissions, partial install, corruption that type of thing) and it is a case of deleting a particular directory so that Studio thinks it is being used for the first time after an install.

 30 
 on: July 07, 2020, 12:29:41 am 
Started by Adrian L. - Last post by Adrian L.
Hi Reuben,

   Many thanks for the info, I will give it a try.


Cheers,
Adrian

Pages: 1 2 [3] 4 5 ... 10
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines