@Override
	public boolean click(int mx, int my, boolean click)
	{
			if (mouseIn(mx, my) && click)
			{
				if (!clicked)
				{
					formDown=!formDown;
					clicked = true;
					return true;
				}
				clicked = true;
				return false;
			}
			if(formDown)
			{
				mouseOver(mx,my);
				if(click==true&&overSel>=0)
				{
					setIndex(overSel);
					formDown=false;
					clicked=false;
					return true;
				}
			}
			else
				overSel=-1;

			if(click)
				formDown=false;
			clicked = false;
			return false;
		}