Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Marcia Akins
  Where is Marcia Akins?
 Akorn
 Ohio - United States
 Marcia Akins
 To: Pete Sass
  Where is Pete Sass?
 Marathon, Ontario
 Canada
 Pete Sass
 Tags
Subject: RE: Make some specific rows Readonly in Grid
Thread ID: 104509 Message ID: 104750 # Views: 2 # Ratings: 0
Version: Visual FoxPro 6 Category: Grids
Date: Sunday, August 20, 2006 2:00:29 PM         
   


this.SetAll([ReadOnly], m.lbReadOnly, [Column])

I am confused here. Tariq asked to make a row read only, but the
code example is for columns?


Using the SetAll() method of the grid, the syntax must be like this because the grid has a columns collection - not a rows collection < s >.

However, you could just shorten the syntax to this:

This.ReadOnly =  m.lbReadOnly


Regards,
Marcia G. Akins
Tightline Computers, Inc.


ENTIRE THREAD

Make some specific rows Readonly in Grid Posted by Tariq mehmood @ 8/17/2006 10:31:33 AM
RE: Make some specific rows Readonly in Grid Posted by Borislav Borissov @ 8/17/2006 10:56:36 AM
RE: Make some specific rows Readonly in Grid Posted by Pete Sass @ 8/19/2006 9:08:24 PM
RE: Make some specific rows Readonly in Grid Posted by Borislav Borissov @ 8/19/2006 11:47:31 PM
RE: Make some specific rows Readonly in Grid Posted by Marcia Akins @ 8/20/2006 2:00:29 PM