ReadOnly and Disabled should have different visual appearances. ReadOnly means you can still tab through the control and you should be able to copy the text to the clipboard. You can still use SetAll() on the controls.
But.. I am curious...is using and Edit button a requirement? I've found, as have my users, that it's much easier to just allow edit. Set a flag when data changes, then prompt the user to save if they close the form or move to a different record without saving.
Look at how Word and Excel work. The data is always in edit mode.
>Do you make each control ReadOnly=.F. or .T. then, within the PageFrame by using SetAll()? The Enable Property works fine, but what is the drawback, if any, for using the Enable property, rather than ReadOnly?
>
>Cecil
>
>>They should be ReadOnly, not disabled.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer