my slash command code conflicts with the frame
2 Attachment(s)
I don't understand this behaviour. If I comment out all the lines after line 47 the GUI frame shows up and works. I can enter text in the MultiLineEditBox and the Convert button does what it is supposed to do. However, as soon as I enable the slash command code the GUI frame loses all its child frames.
The slash command does toggle the GUI frame as expected, it is just that the child frames don't appear unless I comment out the slash command code. Anyone have ideas? Lua Code:
|
I'm not familiar with AddChild or Create (Ace3 stuff?), but have you tried adding edit_box:Show() and button:Show() to the slash command? The children are probably still there, but they might not be actual children that follow automatic visual rules of parent frames.
|
comment out
Code:
gui:Release(widget) The disappearing child would happen also if you left the Release in, commented out the RegisterEvent, clicked close and then /tsmsc. |
Ah ha, I found a comment on the AceGUI-3.0 Tutorial page that worked. Like him, I am not sure if it is the best solution, but it works, huzzah!
Lua Code:
|
All times are GMT -6. The time now is 12:13 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI