Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set filter in activate event of page?
Message
From
11/12/1998 02:08:52
 
 
To
10/12/1998 17:28:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00166356
Message ID:
00166439
Views:
23
As other people have already said, you have to use this.refresh to update the controls of the pageframe. Alternatively you could insert the following piece of code in the refresh method of your base class pageframe.

private lcObject

for each lcObject in this.pages
lcObject.refresh
endfor

Each time the page frame is refreshed, it will automatically refresh all pages in it, and their related controls, without the need to 'manually' do it each time you select an active page.

Also, you may find use SET KEY a better solution to SET FILTER. Using SET FILTER is an awful lot slower than SET KEY, especially on large tables. This could be vital if performance is an issue for you.

Derek
Previous
Reply
Map
View

Click here to load this message in the networking platform