>I have a Form with multiple pageframes. When the Edit button is clicked, what is a good way to enable all of the fields on all of the frames. Then when the OK button is clicked how can disable all of the fields, without disabling the pageframe control? Do I have to do it manually field by field? Not only is that cumbersome, but leaves room for mistakes later on. There must be a better way. Any help greatly appreciated. Thanks!
There is better way but is little bit more complex, you can scan all object on the form throughout nested containers (container within pageframe etc. kind of story) and enable/disable while in edit/browse (if that is what you want). I have
method something like MyForm.All_Controls_enabled(Thisform,.t.) which is part
of navigation class. I can send you more details as soon as I seat at my own
computer (I am at my wife's office )
good luck