Hello,

i have a problem to close my popup like in the datefield widget. an icon is 
situated in a textfield. when the user click this icon, a popup will be opened.
when the user click once again on this icon, the popup should be closed. To do 
this, i used the method disappear(). But i get an error message 
"this._clockPopup.disappear is not a function"

the code in my widget looks as follows:

if (this.getPopupMode()) {
  //toogle the popup-state
  this.setPopupMode(false);
  //close the popup
  this._clockPopup.disappear();
} else {
  //toogle the popup-state
  this.setPopupMode(true);
  //place to the textfield
  this._clockPopup.placeToWidget(this.__clockField,true);
  //show popup
  this._clockPopup.show();
}

i also used the methods hide and deactivate. no effects.

can anyone help me?
thanks
Robert 
-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to