>
>I would use a hook in this case. Something like BeforeInit(). Then your init() would be:
>
>IF !This.BeforeInit()
> RETURN .F.
>ENDIF
>
>and your normal init code would follow here.
>
Thanks Jose for the reply. Just when I thought that I understood...
Does the IF ... ENDIF go in the init of the form class or a sub classed form?
Are you testing to see if the form has the beforeinit() if not return f?
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