>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
>
Or an property array might be appropriate.
Marc
>>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,
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.