Aggiunto flag 0x10 nel parametro button di Array_sheet per non mettere
il bottone "selezione" git-svn-id: svn://10.65.10.50/trunk@2663 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
703f1302d3
commit
e9186d373a
@ -79,7 +79,7 @@ TSheet::TSheet(short x, short y, short dx, short dy,
|
||||
{
|
||||
_visible_rows = rows()- head_on() - 3;
|
||||
|
||||
add_button(DLG_SELECT, "Selezione", K_ENTER);
|
||||
if (!(buttons & 0x10)) add_button(DLG_SELECT, "Selezione", K_ENTER);
|
||||
if (_checkable) add_button(DLG_USER, "Tutti");
|
||||
if (buttons & 0x1) add_button(DLG_LINK, "Gestione", K_INS);
|
||||
if (buttons & 0x2) add_button(DLG_NEWREC, "~Nuovo", K_CTRL+'N');
|
||||
@ -290,8 +290,8 @@ void TSheet::handler(WINDOW win, EVENT* ep)
|
||||
//
|
||||
// @rdesc Ritorna le coordinate fisiche cercate
|
||||
PNT TSheet::log2dev(
|
||||
long x, // @parm Coordinata X da convertire
|
||||
long y) const // @parm Coordinata Y da convertire
|
||||
long x, // @parm Coordinata X da convertire
|
||||
long y) const // @parm Coordinata Y da convertire
|
||||
{
|
||||
if (autoscrolling()) x -= origin().x;
|
||||
return TWindow::log2dev(x, y);
|
||||
|
Loading…
x
Reference in New Issue
Block a user