Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I modify a grid's method in runtime?
Message
De
21/03/2000 20:02:36
 
 
À
21/03/2000 02:08:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00348182
Message ID:
00348682
Vues:
30
Hello Robin

Thank you vaery much Robin

What I like to do is when a user select a report in a listbox, the grid is automatically changed its' properties with same commands (e.g. Click method of Header1 : messaagebox('ok')) in its' method.
But the grid lost commands whenevr I changed it's properties.
Is there any way that I can keep commands when I change a grid's properties?

Wrting clear English sentence is another barrier to me but you know what I mean.

>Are you closing the RecordSource for the grid? Closing the alias, cursor, output from SQL whatever the RecordSource will make the grid appear completely empty. If you need to re-popuplate the Recordsource, don't close it, do something like:
>
>Thisform.lockscreen = .T.
>select Aliasname && RecordSource
>Zap
>append from Table
>Thisform.lockscreen = .F.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform