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