Active Member ReFresh 2340 Posted March 9, 2019 Active Member Share Posted March 9, 2019 Hey guys, is here someone who know how to fix this close event? Function: self.GetChild("TitleBar").SetCloseEvent(ui.__mem_func__(self.Close)) is placed in: def __CreateDialog(self): and where's the problem? Problem is when I use close button generated on TitleBar child. I can use it only one time (on every time when client is loaded, so when's the app started), then I cannot drop anything from my inventory. If someone know how to fix it, I'll be really glad for solution Thanks for answers! Sincerely, ReFresh I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted March 12, 2019 Author Active Member Share Posted March 12, 2019 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted April 1, 2019 Author Active Member Share Posted April 1, 2019 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted April 9, 2019 Author Active Member Share Posted April 9, 2019 ref I'll be always helpful! Link to comment Share on other sites More sharing options...
Kenzy Deep 0 Posted April 10, 2019 Share Posted April 10, 2019 If the problem persists, submit your py file Link to comment Share on other sites More sharing options...
Active Member ReFresh 2340 Posted April 11, 2019 Author Active Member Share Posted April 11, 2019 @Kenzy Deep Spoiler def __CreateDialog(self): pyScrLoader = ui.PythonScriptLoader() pyScrLoader.LoadScriptFile(self, "uiscript/questiondialogitem.py") self.tooltipItem = uiToolTip.ItemToolTip() self.board = self.GetChild("board") self.textLine = self.GetChild("message") self.acceptButton = self.GetChild("accept") self.destroyButton = self.GetChild("destroy") self.cancelButton = self.GetChild("cancel") self.GetChild("TitleBar").SetCloseEvent(ui.__mem_func__(self.Close)) I'll be always helpful! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now