Information générale
Titre:
Exiting class from a method
My class's click event is calling one custon method, which is checking the important properties (whethere set properly or not).
If any of the 4-5 properties is not set properly then it should exit from class, the problem is if I give a return statement from custom method, it returns control to click method..
Any suggestion..
Actually, I will prefer to do something like this..
If !allok &&calling custom method & returning logical value
return
endif
Thanks in advance..
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