Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: tushar Kanvinde
  Where is tushar Kanvinde?
 Kolhapur, Maharastra
 India
 tushar Kanvinde
 To: alan shulman
  Where is alan shulman?
 utica
 New York - United States
 alan shulman
 Tags
Subject: RE: Read only column
Thread ID: 331399 Message ID: 331425 # Views: 35 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Grids
Date: Thursday, December 29, 2011 7:48:01 PM         
   


> >
> >
> > Hi,
> > Set the last column's property to read only.
> >
> >
> > In the example above the column in my case is column8. Change the property hi-lighted to ReadOnly .T.
> >
> > Pete "the IceMan", from the Great White North of Canada.
> > www.marathongriffincomputers.com
>
>
>
> I'd like to do this programatically, with the column number (p) varying each time I run the program.


thisform.grid1.columns(thisform.grid1.columnCount).readonly=.t.


Regards
Tushar

ENTIRE THREAD

Read only column Posted by alan shulman @ 12/29/2011 5:21:42 PM
RE: Read only column Posted by Pete Sass @ 12/29/2011 6:38:39 PM
RE: Read only column Posted by alan shulman @ 12/29/2011 7:43:34 PM
RE: Read only column Posted by tushar @ 12/29/2011 7:48:01 PM
RE: Read only column Posted by alan shulman @ 12/29/2011 8:00:30 PM
RE: Read only column Posted by Cetin Basoz @ 12/30/2011 2:33:12 PM
RE: Read only column Posted by Cetin Basoz @ 12/30/2011 2:32:33 PM