Modificate le chiamate a disable_row e row_disabled per nuove
librerie con XI. git-svn-id: svn://10.65.10.50/trunk@2868 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
01ec29322a
commit
71bdcc9fb4
@ -857,7 +857,7 @@ void CG4400_application::build_ditte_sheet()
|
||||
d->insert(" |", 0);
|
||||
const long pos = _ditte->add(d);
|
||||
if (selectable)
|
||||
_ditte->disable(pos);
|
||||
_ditte->disable_row(pos);
|
||||
else if (_selected[i])
|
||||
_ditte->check(pos);
|
||||
}
|
||||
@ -953,7 +953,7 @@ long CG4400_application::select_firm_range(long from, long to)
|
||||
if (to == 0l) to = 99999L;
|
||||
for (int i = 0; i < _ditte->items(); i++)
|
||||
{
|
||||
if (_ditte->disabled(i))
|
||||
if (_ditte->row_disabled(i))
|
||||
continue;
|
||||
|
||||
TToken_string& d = _ditte->row(i);
|
||||
|
@ -167,7 +167,7 @@ void VersAcc_app::build_ditte_sheet()
|
||||
d->insert(" |", 0);
|
||||
bool selectable = vers == '?';
|
||||
const long pos = _ditte->add(d);
|
||||
if (selectable) _ditte->disable(pos);
|
||||
if (selectable) _ditte->disable_row(pos);
|
||||
}
|
||||
}
|
||||
|
||||
@ -252,7 +252,7 @@ bool VersAcc_app::check_acc()
|
||||
case BUT_CGB_ALL:
|
||||
_ditte->check(-1);
|
||||
for (j = 0l; j < _ditte->items(); j++)
|
||||
if (_ditte->checked(j) && !_ditte->disabled(j))
|
||||
if (_ditte->checked(j) && !_ditte->row_disabled(j))
|
||||
_selected.set(j);
|
||||
_calcall = TRUE;
|
||||
k = K_ENTER;
|
||||
@ -286,7 +286,7 @@ void VersAcc_app::vers_acc()
|
||||
if (_prind->iscancelled())
|
||||
break;
|
||||
|
||||
if (!(_calcall || _selected[l]) || _ditte->disabled(l))
|
||||
if (!(_calcall || _selected[l]) || _ditte->row_disabled(l))
|
||||
continue;
|
||||
|
||||
_abi = _abips;
|
||||
|
Loading…
x
Reference in New Issue
Block a user