Cool tip, there's places I could have used that in the past. :)

I think that was added after VFP6 though I'd have to check.. so it 
wouldn't help this specific project, but good to know for my other projects.

-Steve


At 01:52 PM 12/28/2007, MB Software Solutions wrote:
>Steve Ellenoff wrote:
> > Not sure what you mean.. Can you explain?
> >
> > As a work-around, I am disabling the code that runs in the
> > afterrowcolchange() method if the form is not the active form in vfp,
> > but that's a hack, and I'd really like to know what's really happening.. :)
> >
> > -Steve
> >
>Sometimes there's code that I want to only fire if the user changes
>rows, not columns.  In that case, I use the RowColChange property in the
>AfterRowColChange event to conditionally fire that code.
>
>Example:
>
>grid.AfterRowColChange code:
>
>if inlist(this.RowColChange,1,3) then && user changed rows...fire code
>   do something
>* else don't do anything
>endif
>
>
>--
>Michael J. Babcock, MCP
>MB Software Solutions, LLC
>http://mbsoftwaresolutions.com
>http://fabmate.com
>"Work smarter, not harder, with MBSS custom software solutions!"
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://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