Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
For some reason, when I open an XUI XML window, it doesn't always work. I have code that does the following:
Create XML file
local xuidoc = doc_open(xmlfile)
xuiwin = window_create('xui', 0x10, xuidoc)
The window_create will sometimes return -1 and not create the window. Do I need to set focus or something. Not sure what I am doing wrong. The XML file is one I create on the fly and save before I try and open it. It is a docked XML dialog. Any suggestions would be greatly appreciated.
BTW this is version 5.3 I am using.
Thanks.
John
I tried that. The doc_open was ok. It was returning 41 in both cases when it would open normally or when it would fail and window_create would return -1.
The problem seems to be with dockable dialogs. If I open up more than one dockable dialog in a row, it seems to have issues. Anyone else experience problems opening up multiple dockable dialogs. It seems to be kind of flakey. Thx in advance for comments.