Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set filter in activate event of page?
Message
De
11/12/1998 02:08:52
 
 
À
10/12/1998 17:28:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00166356
Message ID:
00166439
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform