John J. Mihaljevic wrote: > I set up break points, and ReadOnly is always .t. for the grid. But I've > noticed in the form, after using the Builder to create all the columns in > the grid, that ReadOnly is .f. for each Column and Text in the grid. So, > even though the grid itself is read-only (as defined in my class and as it > remains in the form), it appears as though the fact that the Columns and > Texts are defaulting to ReadOnly=.f. allows me to edit data in the grid. > > So, I guess my next question is this. Is there a way to make all columns in > a grid default to ReadOnly=.t.? I could go through the grid (after I build > it with the builder) and change each column to ReadOnly=.f., but if there's > a quicker & easier way, I'd prefer that. Especially if it can be done in > the grid class I created so any grid I build with the class will have that > built into it. > > Thanks! > > John >
There is a quicker way...see my last post (which I see hasn't posted yet!). A couple clicks in the property box and you should be good to go! -- 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: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** 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.