>A slightly different method from Jim's suggestion is one used by many of the commercial frameworks. In your base form you have an 'AfterLoad', 'AfterInit' etc. methods. In the base form code you call these functions, so that the base form's LOAD method would include "thisform.AfterLoad()" at the end of all its other commands.
>
>THen, if you wish to add code to the LOAD event you simply place it in the AfterLoad() method and know that it will be called after the base code is done.
>This is a very convenient technique when you have code in base forms, particularly if there are several layers of subclasses involved.
>
>HTH
>Barbara
I like that solution. I know that I can remember it if I see the AfterLoad method in the form.
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