The problem is that the CollapsiblePanel component from http://hasseg.org/blog/?p=113 does not have minimize or restore events.
When I try to put minimize or restore into the mxml, it does not pop up autocomplete details and gives me an error on compile. --- In [email protected], "binoop_cv" <binoop...@...> wrote: > > Yes valdhor. We are also using the same. For CollapsiblePanel, the events are > of "minimize" and "restore". We cant achieve this functionality using "open" > or "close" events. > > Once again thanking you for the support. > > Regards, > Binoop > > --- In [email protected], "valdhor" <valdhorlists@> wrote: > > > > 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_cv@> 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 > > > > > >

