Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ed fabonan
  
 
 
 ed fabonan
 To: Vinod Kerai
  Where is Vinod Kerai?
 London
 United Kingdom
 Vinod Kerai
 Tags
Subject: RE: Disable a row in a grid
Thread ID: 33813 Message ID: 34011 # Views: 2 # Ratings: 0
Version: Visual FoxPro 8 Category: Grids
Date: Saturday, December 06, 2003 6:50:34 AM         
   


> >
> > i know this is awkward...
> >
> > in the keypress event, do a case statement which ignores all alpha numeric characters. but before that do your condition on your date/ bool as stated.
> >
> >
> > -Lucy Alice
>
>
> How about adding 'disabled' controls to each column, eg/ if 1st col has an enabled check box then also add a disabled check box et... and then use the DynamicCurrentControl on each column to determine which contro to use
> eg/ IIF( condn, 'txtEnabled', 'txtDisabled' )
>
> Regards
> ViN.
You could put this in the when event of every textbox in each column:

RETURN




ENTIRE THREAD

Disable a row in a grid Posted by bleech67 toms @ 12/3/2003 10:41:19 PM
RE: Disable a row in a grid Posted by Jamie Osborn @ 12/3/2003 11:34:42 PM
RE: Disable a row in a grid Posted by lucy alice pilanga @ 12/4/2003 4:09:48 AM
RE: Disable a row in a grid Posted by Vinod Kerai @ 12/5/2003 12:16:47 PM
RE: Disable a row in a grid Posted by ed fabonan @ 12/6/2003 6:50:34 AM