Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Force redraw/refresh of a tabbed panel

$
0
0

Hello all,

 

I have a script running in a tabbed panel - whenever I change the active subpanel with the mouse an onChange event is triggered.

 

One of the subpanels has a listbox. I can remove elements from the list or clear it completely. I would like the following behaviour:

 

1. When one element is deleted from the list, the list should be redrawn (without the element of course) - right now, it only does so, if I switch to another sub panel and back again. I've tried to call the onChange function but it seems to have no effect.

 

2. When all elements are cleared I would like to return the focus to another subpanel, therefore hiding the active one.

 

I've tried some approaches but I can't seem to get it to work. Any pointers?

 

Thanks for your help!

 

best,

yp


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>