Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: sytze de boer
  Where is sytze de boer?
 New Zealand
 sytze de boer
 To: Ken Murphy
  Where is Ken Murphy?
 Ken Murphy
Subject: RE: Grid class
Thread ID: 143574 Message ID: 143580 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: Grids
Date: Thursday, August 30, 2007 3:09:19 AM         

> > Ken (or others)
> >
> > Ken guided me here (on Foxite) to make use of form classes
> > This was very helpful
> > How is this done with a GRID ??
> >
> > Sytze
> Sytze,
> The very same way. Start by creating your own base grid class. Go to your VFP project's Classes tab and click "New", Give it a name (one that will follow your naming convention) like BaseGrid (or what ever), select "Grid" from the dropdown, and store it in your "Base.VCX" file (or what ever you called it.) This will pop up a grid. Save it and you have your own grid class. You can add your own functionality to it as you need. Sub-class your base class and add more functionality. What are you trying to accomplish?
> Ken
> You shall know the truth - and the truth shall set you free. (John 8:33)

Hi Ken

Thanks for your unput
What you explain above is what I tried to do, but unlike FORMS class where I updated my Fox by clicking Tools, Options, Forms (tab), I can't locate the Grids one.
So, when modify form myform, it comes up with my "template", but when I drop the grid onto this same form, it completely ignores my grid class
Please try me again



Grid class Posted by sytze de boer @ 8/30/2007 12:56:08 AM
RE: Grid class Posted by Ken Murphy @ 8/30/2007 1:14:23 AM
RE: Grid class Posted by sytze de boer @ 8/30/2007 3:09:19 AM
RE: Grid class Posted by Ken Murphy @ 8/30/2007 4:41:28 AM
RE: Grid class Posted by Cetin Basoz @ 8/31/2007 12:29:26 PM