JyotiC wrote: > got the error, > but there is one more prob, button is not coming to enable again. once > it is disabled > the error it's giving is:- > NameError: global name 'ENABLED' is not defined Try NORMAL instead of ENABLED. Peter