Gene Wirchenko wrote on 2013-09-13: 
>  At 10:34 2013-09-13, "Tracy Pearson" <[email protected]> wrote:
>  Gene Wirchenko wrote on 2013-09-13:
>>>  Dear Vixens and Reynards:
>>>        I thought I had forgotten a detail so I have reposted with it.
>>>        
>>>        The missing detail: My forms are in code.
> 
>> Perhaps this will help
>> 
>  [snipped code]
>        Yes, thank you.  It has less magic so more I can follow.
>        
>        Am I missing the boat ,or is there really not a lot of docs about
grids?
>  Sincerely,
>  
>  Gene Wirchenko
> 

Gene,

I've seen more UI related documentation about grids than code based grids.

You can build a grid on a form in a UI way, then save it as a class to see
how it was done. Last I did this, the code did *NOT* run. Things may have
changed since VFP 6 or 8 when I did it.

Grids have a lot of abilities, when you get in to using some of the
complicated ones, the visual artifacts it can produce are annoying.

The easiest way, and less problematic way to use a grid is to set the
recordsource once, never destroy that cursor, ZAP and insert/append in to it
to change the data.    i.e. insert into grdCursor from (select ...)

There are many little gems and pains in grids. YMMV

Good luck,
Tracy



Tracy Pearson
PowerChurch Software


_______________________________________________
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