Example #1
0
 void releaseWidget() {
   super.releaseWidget();
   display.releaseToolTipHandle(handle);
   if (parent.lastFocus == this) parent.lastFocus = null;
   control = null;
   toolTipText = null;
   image = disabledImage = hotImage = null;
 }
Example #2
0
 void releaseWidget() {
   super.releaseWidget();
   if (parent.currentFocusItem == this) parent.currentFocusItem = null;
   parent = null;
   control = null;
   hotImage = disabledImage = null;
   toolTipText = null;
 }
Example #3
0
 void releaseWidget() {
   super.releaseWidget();
   releaseImages();
   control = null;
   toolTipText = null;
   disabledImage = hotImage = null;
   if (disabledImage2 != null) disabledImage2.dispose();
   disabledImage2 = null;
 }
 void releaseWidget() {
   super.releaseWidget();
   if (hBitmap != 0) OS.DeleteObject(hBitmap);
   hBitmap = 0;
   if (accelerator != 0) {
     parent.destroyAccelerators();
   }
   accelerator = 0;
   display.removeMenuItem(this);
 }
Example #5
0
 void releaseWidget() {
   super.releaseWidget();
   control = null;
   toolTipText = null;
   image = disabledImage = hotImage = null;
 }
 void releaseWidget() {
   super.releaseWidget();
   if (parent.sortColumn == this) {
     parent.sortColumn = null;
   }
 }