Honestly....without subclassing, I think I'd hate programming. It
surely would not be as enjoyable.
Check out the SaveSource and RestoreSource methods I posted in the
ProFox downloads section to add to your grid subclass. Those are MUST
HAVEs in my opinion so you never have to rebuild your grids after
changing (requerying) the underlying cursor.
hth,
--Mike
On 2016-02-02 08:58, Kurt Wendt wrote:
Hey Mike - sorry I didn't see your reply till now.
At first I was hesitant to attempt to try and implement this
particular solution - because it involved classes. I first tried to
see if I could do it without doing the subclassing. But, then I saw
that it required adding Methods and Properties to a Grid. I had done
that with Forms - but, didn't know you couldn't do it with a Grid. So
- I took at stab at how to sub-class, just a pure guess - since there
were already a couple of visual classes in the project already - and
was glad to see it was so easy to sub-class.
And - they say you Can't teach an Old Dog New Tricks. Well - this Dog
just learned something new!
:-)
-K-
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of
[email protected]
Sent: Saturday, January 30, 2016 6:32 PM
To: [email protected]
Subject: Re: Multi-Select Grid & Foxite Code Issue (Was...RE: A
Question of ListBoxes)
On 2016-01-29 17:20, Kurt Wendt wrote:
To be honest - I hadn't sub-classed before, but, I figured it out and
made a Grid sub-class.
imo, subclassing is the BEST and will allow you to really love the Fox
moreso. If I couldn't (or didn't) subclass, I might as well use VB.
:-)
OOP is where's it at (still).
--Mike
[excessive quoting removed by server]
_______________________________________________
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.