Rif. mod. 95/41. Corretta la funzione TMask::on_key(): aggiunto un

controllo sulla selezione della pagina tramite i tasti CTRL+F(n).


git-svn-id: svn://10.65.10.50/trunk@1923 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
angelo 1995-10-06 08:52:44 +00:00
parent c5c1117574
commit 4922e73b4d

View File

@ -885,7 +885,11 @@ bool TMask::on_key(
{
key -= K_CTRL;
if (key >= K_F1 && key <= K_F12)
show_page(key - K_F1);
{
const int page = key - K_F1;
if (page < _pages)
show_page(key - K_F1);
}
else
{
for (int i = 0; i < fields(); i++)