Tu dois te definir une sous classe de zcommandbutton en premier:
DEFINE CLASS zCommandButton2 AS zCommandButton
...
FUNCTION When()
DODEFAULT() && Seulement si tu veux que l'evenement When() de la classe originale s'execute
...
Ensuite tu cree une instance de cet objet.
>Je definis une classe comme ceci:
>define class zcommandbutton as commandbutton
>...
>
>plus tard, dans un formulaire je fais:
>this.addobject("annuler","zcommandbutton")
>
>et je voudrais redefinir l'evenement When de cette instance de zcommandbutton....comment faire ??? !!!!!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only