getDroppedDown ();
The getDroppedDown returns the indicator of that the panel is expanded.
The method returns the False value if the panel is not expanded and and the True value if the panel is expanded.
To execute the example, create the DropPanel component and a button named btn clicking which expands the panel (see Example of Creating the DropPanel Component). Add the ContextMenu event handler, which displays a message informing if the panel is expanded on clicking the right mouse button.
btn.ContextMenu.add(function (sender,args){
alert(Opened: + DP.getDroppedDown().toString());
})
NOTE. To expand the panel, in the .show method pass True as the value of the notCreateFrame parameter to avoid creating frame. Otherwise thefalse value always appears on the screen, as clicking the button hides the panel.
See also: