def onFacility(self, facility): guielement = Base.onFacility(self, facility) #guielement.Enable( False ) return guielement