Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement