Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initiating a grid in a form only when needed
Message
De
01/08/2001 15:09:32
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
01/08/2001 14:01:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00538434
Message ID:
00538481
Vues:
10
Larry-

>I know I should remeber how to do this but I forgot.
>I have a form, on this form I a series of tab page frames. On page2 I have a grid, I would like this Grid to be initialized only when I click on the tab page2. The reason behind this is for performance, as well I am using a common table which will hold different values of data based upon whether the user is in page1, page2 or page3.

In the page.activate:
IF TYPE( "this.Grid1.name" ) = "C"
  THIS.ADDOBJECT( "grid1", blah, blah, blah)
ENDIF
Do you want to rebuild the grid each time? You could remove object first.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform