Virgil Bierschwale wrote:

In other words, when they display the form, I want it to be read only, and
when they hit the edit button, then I want them to be able to edit and make
active the save and cancel button.

I'm lazy, so what I do is put a container on the form, and all the controls I want to be disabled/enabled in the container.

By default, the container is enabled = .F. When they press the edit button, I change container enabled to .t. (I also change the container background to green so that it's clear they are in edit mode)

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** 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