mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
Navigation keys in the context help.
Добавлен по страничный скроллинг (PgDn,PgUp), строчный (Up,Down) и начало,конец текста (Home,End).
This commit is contained in:
parent
8df9354b4c
commit
d64fe4d6c2
2 changed files with 13 additions and 1 deletions
|
|
@ -173,6 +173,14 @@ public:
|
|||
p.y=p.y-50;
|
||||
//this->Move(p);
|
||||
}
|
||||
if (event.GetKeyCode() == WXK_PAGEDOWN) htmlWindow->ScrollPages(1);
|
||||
if (event.GetKeyCode() == WXK_PAGEUP) htmlWindow->ScrollPages(-1);
|
||||
if (event.GetKeyCode() == WXK_DOWN) htmlWindow->ScrollLines(1);
|
||||
if (event.GetKeyCode() == WXK_UP) htmlWindow->ScrollLines(-1);
|
||||
if (event.GetKeyCode() == WXK_HOME) htmlWindow->ScrollPages(-1000);
|
||||
if (event.GetKeyCode() == WXK_END) htmlWindow->ScrollPages(1000);
|
||||
|
||||
|
||||
});
|
||||
htmlWindow->Bind(wxEVT_RIGHT_UP, [&](wxMouseEvent& event) {
|
||||
wxString name;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue