General information
Category:
Forms & Form designer
Title:
Grid class defined as read-only, but editing is allowed
Hi all,
I created a grid class for the forms I'm designing with ReadOnly=.t.. When I pop this grid into one of the tabs in the pageframe in my form, I look at it's properties and see that ReadOnly is still .t.. But when I run the form, I'm able to edit records in the grid. If I put "this.mygrid1.ReadOnly=.t." in the tab's Activate property, the grid becomes read-only.
Why is the read-only aspect of this grid going away when I run the form? I've got no code in there that changes it to ReadOnly=.f..
Thanks very much,
John
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only