View Single Post
12/03/14, 04:54 AM   #10
merlight
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 671
Originally Posted by Baertram View Post
There is sometimes a slight delay before you can use e.g. IsHidden().
Either you put your function as a post hook, so everything else was done before your check "where am I?", or you try it with zo_callLater and about 50ms.
IIRC OnEffectivelyShown happens before OnShow, so I wouldn't bet on IsHidden returning true. But I surely didn't call IsHidden, when OnEffectivelyShown is called on a panel I assume the user will see it
  Reply With Quote