class Button(object): def onClick(self): result = PromptUser("Enter information") # do something with the result
result = None class Button1(object): def onClick(self): global result result = PromptUser("Enter information") class Button2(object): def onClick(self): global result if result is not None # do something with the result result = None
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.