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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.