Which CollapsiblePanel  are you using? (Note: CollapsiblePanel is not a 
built-in Flex component).

If you are using the one from http://hasseg.org/blog/?p=113, you can check if 
the CollapsiblePanel is open or not to figure out if it's a open or close event.

--- In [email protected], "binoop_cv" <binoop...@...> wrote:
>
> In mxml we can specify the minimize and restore Events as
> 
> <containers:CollapsiblePanel id="projectPanel" title="Data"  
> collapseDuration="200" width="100%"  collapsed="false" 
> minimize="fnHndlerForMinimize()"                          
> restore="fnHndlerForRestore">
> 
> My question is how can we determine whether its an "minimize" or "restore" 
> events using actionscript?
> 
> In the case of datagrid we can specify addEventListener as 
> dg.addEventListener(DataGridEvent.ITEM_EDIT_BEGIN, checkFieldCanBeEdited);
> 
> So in the ITEM_EDIT_BEGIN, it will call the function checkFieldCanBeEdited.
> 
> How we can add "minimize" and "restore" events of CollapsiblePanel   like the 
> above?
> 
> Thanks much,
> Binoop
>


Reply via email to