Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh on pageframes
Message
 
 
To
14/06/2001 14:54:06
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00519586
Message ID:
00519668
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform