No problem; I know from personal experience how easy it is to forget/overlook the change history of large projects.
I look forward to the updated help file. Also, since GetArray will work with a variant array - as you've posted - you may want to include that example in the help file too.
I still have some issues with GetArray/GetString, the least of these is to understand why both are necessary. I'll explain further and provide further step by step explanation/illustration of the issues: I'll send this to your email address.
May I suggest some enhancements for the future?
1. A method, say, SaveSession, which will save the content only of the grid as XML to a file; the name of the file will be the argument to the method. Of course this will require a complementary method, say, RestoreSession which will read the file back into the grid.
Of course if you want to introduce further flexibility, you could cater for JSON (and CSV) documents as well as XML ones. The format can be another argument to the methods.
2. A method, say, SaveSessionStyles, which will save the objects e.g. combo boxes etc., formatting, and cosmetic aspects of the current grid. RestoreSessionStyles will be the complementary function.
My reasons for this suggestion are:
1. XML, CSV, and JSON documents are ubiquitous.
2. Saving the whole session and being able to restore it promotes rapid presentation of the grid in a user interface. It should be possible to restore the contents only, or the contents and styles in any order. I am thinking of contexts where the workflow requires Resume i.e. continue from where I left off.
3. A supplementary advantage will be that you can, within reason, load any XML (or JSON) into the grid.
4. These methods will enable users to acquire and transfer data with ease. When an XML file is read into the grid, users can use, say, ReadIntoArray to acquire the data in their own environment. Saving to a file in a generic format such as XML also makes it easy for users to transfer data from their environment to any other application that can read XML.
Edited by user
2019-01-10T18:52:11Z
|
Reason: Not specified