Hi Vinod!
May be you should have an class property such as AllOK and issue in your
custom method:
class.AllOK = .t.
and then check this property in Click event for exit ....
Have a happy day
Vladimir Shevchenko
> My class's click event is calling one custon method, which is checking
the
> important properties (whethere set properly or not).
> class, the problem is if I give a return statement from custom method, it
> returns control to click method..
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer