Don,
>To add on this process, In the form Refresh method you can make use of the SETALL() method.
>
>Thisform.Setall( "Enabled", Thisform.Editing, "TextBox" )
>
>Rather than applying to each control...
Yeah, I know .... this is one of the things I meant when I said there were cleaner ways. I was trying to highlight how each control *can* control it's own state.
Also, there's a methodology issue. As a general rule (broken often - hehe) I try to code my frameworks where each control or container sets it's own state depending on the environment. I try to avoid SetAlls and the like except where common-sense efficiencies make there use overwhelmingly beneficial.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05