Rick:
Thanks...I looked at that and had it call a method but it still allowed the 
user to click the deleted record.
I currently am using the dynamicforecolor to change the color based on the 
record state. I currently tell the user it can't be selected.
What I really wanted was the user not to be able to select the row.
I guess this is ok for now.
Thanks for the suggestion.
Regards,

Jack


________________________________________
From: [email protected] [[email protected]] On Behalf Of 
Rick Schummer [[email protected]]
Sent: Friday, June 19, 2009 12:58 PM
To: [email protected]
Subject: RE: VFP9 SP2: How to disbale a row in a grid

>> How do you disable a row in a grid when the record in the recordsource
has been marked for deletion. I want the item to show but not allow it fo be
selected.<<

You can use DynamicCurrentControl to swap out controls, one enable and one
disabled. Use the Deleted() state to toggle which controls are displayed.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.swfox.net
www.rickschummer.com



[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/0b957900b2b8194d998a441195b66038386be4b...@drdsrv03.drdad.thenewarkarena.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