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!"



_______________________________________________
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