Modifica per far funzionare meglio la pagina di inserimento delle righe
git-svn-id: svn://10.65.10.50/trunk@4092 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3e31ea653f
commit
7875e1ba3d
@ -135,7 +135,7 @@ bool TMotore_application::ss_handler( TSheet_field& ss, int r, KEY key )
|
|||||||
if ( key == K_DEL ) // Cancellazione
|
if ( key == K_DEL ) // Cancellazione
|
||||||
app()._doc->destroy_row(r + 1, TRUE);
|
app()._doc->destroy_row(r + 1, TRUE);
|
||||||
else
|
else
|
||||||
if ( key == K_INS ) // Inserimento
|
if (key == K_CTRL + K_INS)
|
||||||
{
|
{
|
||||||
TMask & emask = app().edit_mask();
|
TMask & emask = app().edit_mask();
|
||||||
TRiga_documento & riga = app()._doc->insert_row(r + 1, emask.get( F_LBTIPORIGA ));
|
TRiga_documento & riga = app()._doc->insert_row(r + 1, emask.get( F_LBTIPORIGA ));
|
||||||
@ -145,10 +145,8 @@ bool TMotore_application::ss_handler( TSheet_field& ss, int r, KEY key )
|
|||||||
s << app()._clifor->get(LF_CFVEN, "CODDEP");
|
s << app()._clifor->get(LF_CFVEN, "CODDEP");
|
||||||
riga.put("CODMAG", s);
|
riga.put("CODMAG", s);
|
||||||
riga.autoload(ss);
|
riga.autoload(ss);
|
||||||
|
ss.select(r);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
if (key == K_CTRL + K_INS)
|
|
||||||
ss.select(r);
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user