I'm sorry, Marc. I should have mentioned that I needed it for two controls. Do you suggest defining two properties to do this?
Bill
>You need a property say lP1AEnabled, then you could
>
>thisform.lP1AEnabled= THISFORM.PageFrame1.Page1.cmdAdd1.Enabled
>
>... save the current status , and render it when Page2 becomes active:
>
> THISFORM.PageFrame1.Page1.cmdAdd1.Enabled=thisform.lP1AEnabled
>
>HTH,
>
>Marc
>
>
>>THISFORM.PageFrame1.Page1.cmdAdd1.Enabled = .F.
>
>
>
>>I am trying to save the current value of a control. For example:
>>
>>THISFORM.PageFrame1.Page1.cmdAdd1.Enabled = .F.
>>
>>I would like to save the current value of .F. and then be able to change the control back once I return to page 1 from page 2.
>>
>>TIA,
William Chadbourne
Senior Programmer/Analyst
State of Maine - DAFS App Team
Oracle - When you care enough to use the very best!!