Hey Mike - thanks so much for pointing me to your code downloads. I haven't 
gotten to the point of re-querying the grid - but, I WILL have to do exactly 
that - and at that point I will look at your code.

I'm actually having a Strange problem with this Grid now - in that it will at 
times crash the whole VFP application when I am testing out that Grid. But, I 
may have to post this in a new Thread. I'm trying some stuff out now - before I 
really post about this issue. But, it's a game stopper - since I can't possibly 
release this screen to the users if it crashes at times due to users 
interacting with this Grid!

So - more on this shortly...

-K-

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Tuesday, February 02, 2016 10:29 AM
To: [email protected]
Subject: RE: Multi-Select Grid & Foxite Code Issue (Was...RE: A Question of 
ListBoxes)

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/80838f1ca795b14ea1af48659f35166f272...@drexch02.corp.globetax.com
** 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