>The only consideration to keep in mind is that you'll probably also need to create a BeforeLoad method to execute before the Load Event code, just to make up for the loss in coding flexibility. And of course, if the default Load Event returns some value that will influence the resulting behavior, your work becomes even more tedious with these other methods just trying to find work-arounds for them.
>
>A prime example:
>
>In the Load Event of some parent class you have:
>
>LOCAL lcTable
>
>lcTable = Alltrim(THISFORM.cTable)
>
>IF !Empty(lcTable)
What I am doing is things like
ThisForm.AutoCenter = .T.
do you know of another way to do this?
Thanks
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