mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
GridCtrl: Added GotoFirstEdit
git-svn-id: svn://ultimatepp.org/upp/trunk@6134 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
95a377444b
commit
df34a00f0c
2 changed files with 5 additions and 2 deletions
|
|
@ -99,7 +99,8 @@ GridCtrl::GridCtrl() : holder(*this)
|
|||
row_changing = true;
|
||||
edit_mode = GE_ROW;
|
||||
one_click_edit = false;
|
||||
coloring_mode = 0;
|
||||
goto_first_edit = true;
|
||||
coloring_mode = 0;
|
||||
isedit = false;
|
||||
genr_ctrls = 0;
|
||||
edit_ctrls = false;
|
||||
|
|
@ -6582,7 +6583,7 @@ bool GridCtrl::StartEdit()
|
|||
WhenStartEdit();
|
||||
|
||||
SetCtrlsData();
|
||||
UpdateCtrls(UC_SHOW | UC_GOFIRST | UC_CURSOR | UC_CTRLS);
|
||||
UpdateCtrls(UC_SHOW | UC_CURSOR | UC_CTRLS | (goto_first_edit ? UC_GOFIRST : 0));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue