public void setcanfocus(boolean canfocus) {
		this.autofocus = this.canfocus = canfocus;
		if (parent != null) {
			if (canfocus) {
				parent.newfocusable(this);
			} else {
				parent.delfocusable(this);
			}
		}
	}