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.

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to