// and moves somewhere else
boolean enabled = control.getEnabled();
control.setEnabled(false);
control.setParent(newParent);
control.setEnabled(enabled);
control.moveAbove(null);
}
}
/**
* Returns true if this part was set visible. This returns whatever was last passed into