Yeah, I have.  And for some reason, that works.

The grid class which I created (MyGrid) is ReadOnly=.t.

I put in several WAIT WINDOWS in the form - whenever I change tabs,
whenenever I enter the grid, etc., to show me the current status of the
grid's ReadOnly attribute, and it's always .t..

But when I enter the grid itself, I'm able to edit data.

But when I do as you mentioned (putting
thisform.mypageframe1.browse.mygrid1.readonly=.t.) in the form's Activate
method, I can't edit anything in the grid.

> Have you tried setting the grid itself to readonly after 
> using the builder.  I have a few readonly grids on forms that 
> seems to work fine.





_______________________________________________
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
** 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