Thanks Mike for confirming the process as I noted.
Will let you know how it works out...
-K-
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com Sent: Wednesday, February 03, 2016 12:10 PM To: profoxtech@leafe.com Subject: RE: Multi-Select Grid & Foxite Code Issue (Was...RE: A Question of ListBoxes)
On 2016-02-03 09:07, Kurt Wendt wrote:
OK Mike - so, I downloaded your code - grdbase.prg - and was reviewing it. So, the SaveSource and RestoreSource exists in your PRG as Procs. Should I simply take each chunk of code, create New Methods in the Grid Subclass - and insert the code - then call SaveSource before a data refresh of the grid - and call RestoreSource after? What about the rest of the code in the PRG? Ignore it for now?? I suspect not, as I see your comments in the GrdBase class stating - "...used in SaveSource/RestoreSource". As such - I suspect I should be adding those Properties to my subclassed grid.
Correct. Add those 2 methods to your subclass and copy that code into them. Note that you'll need to create one or two custom properties referenced in that code as well. It's in the PRG like that because it was easiest to share the Class Browser output that way.