Deselect textbox contents on mouse_down event.

Add the condition that textbox's content should be selected when it's focused with tabstop.
This commit is contained in:
beru
2015-05-21 04:15:20 +09:00
parent 9fc7d3e403
commit 8899cc870c
2 changed files with 13 additions and 2 deletions

View File

@@ -1629,7 +1629,10 @@ namespace nana{ namespace widgets
select_.mode_selection = selection::mode_mouse_selected;
}
else
{
select(false);
select_.mode_selection = selection::mode_no_selected;
}
}
text_area_.border_renderer(graph_, _m_bgcolor());