Message 1 of 2
custom window erratic behavior
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I searched the forum for an answer but could not find anything.
I'm programming a custom animation UI, I have done this several times, using the code i've always used:
proc crt_animUI()
{
if(`window -q -exists animUI`)
deleteUI animUI;
window -t "Anim UI" animUI;
// my code with tabs, menus, etc, everything works fine
showWindow animUI;
}
crt_animUI();
Everything works perfectly, except when i call back the procedure crt_animUI. Sometimes it does delete and remake the window, but sometimes it just deletes it but doesn't show it any more. I can't find any reason why sometimes it works and sometimes it doesn't.
Any ideas?
Thanks!