Add a property to your pageframe class called lRefresh. Give it assign method:
if m.vNewValue
for each loPage in this.Pages
loPage.Refresh()
next
endif
In your form.Refresh do thisform.SetAll(.t.,'lRefresh') (or whatever syntax you should use).
All of this from the top of my head, not tested.
That's it.
This is Trey Wallpole idea to execute some custom code using Assign method.
>>Unfortunately still you need :( But might shorten the code :)
>>
for each oControl in thisform.Controls
>> if upper(oControl.BaseClass) = 'PAGEFRAME'
>> for each oPage in oControl.Pages
>> oPage.Refresh()
>> endfor
>> endif
>>endfor
Cetin
>
>Anyone know if MS will resolve this issue?
>
>BTW, is that taking care of all sub controls as well such as a pageframe within a pageframe?
If it's not broken, fix it until it is.
My Blog